Peter Donald wrote:

> At 06:22 AM 6/21/2002 +0200, you wrote:
>
>> The metainfo ComponentDescript class contains the name, classname, 
>> implementation version and attributes of a component together with a 
>> display name.  I think we need to consider internationalization 
>> requirements for both the displayname element and attribute values.
>
>
> Yep - I forgot about displayname. I planned to add in description as 
> an attribute so that it could be i18n'ed. The attribute was then going 
> to be keyed in usual fashion. ie Look for attribute 
> "description-en_au", then "description-en" and finally "description". 
> However I think I prefer your approach where the attribute value is 
> key into normal i18n files.
>
> Maybe we should make display name an attribute aswell?


I think that's a good idea.
....  and the first formal reserved Avalon attribute key name would be ?

>
>>   One approach I could impagine is a reserved leading character in a 
>> displayname or attribute value that is used to distinguish between a 
>> i18n resource key and plain text.  For example if the value starts 
>> with #, then an implementation can attempt to resolve the string via 
>> the component's package i18n resource.
>
>
> As long as that interpretation is restricted to specific "well known" 
> attributes or is considered container specific then I would be fine 
> with that.


Umm, don't like limiting this to well-know attributes.  For example, I 
would want to include a description of the component as an i18n resource 
value and I wouldn't like to be restricted on what keys I could use. 
 The alternative is to include a flag in an attribute defintion to 
indicate that the value is an i18n key.  The default being FALSE.

Steve.

>
>
> Cheers,
>
> Peter Donald
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "Faced with the choice between changing one's mind,
> and proving that there is no need to do so - almost
> everyone gets busy on the proof."
>              - John Kenneth Galbraith
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
>

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:[EMAIL PROTECTED]
http://www.osm.net




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to