bo-le skrev:
> Am Dienstag, 16. Juni 2009 21:40:53 schrieb Zero3:
>> Matthew Toseland skrev:
>>> On Sunday 14 June 2009 13:11:40 Zero3 wrote:
>>>> Matthew Toseland skrev:
>>>> This value is also passed on to the node via "node.l10n=Deutsch"
>>>> (example for German) in freenet.ini. (I don't think that specifying a
>>>> language by the localized name is ideal, but that seems to be how the
>>>> node wants it. I *did* ask if this could be changed to standardized
>>>> language IDs a while ago...)
>>> IIRC both work.
>> Which kind of IDs does it accept? I'd really like to switch over to that
>> instead.
> freenet.l10n.L10n.java shows you the strings:
>       /** @see "http://www.omniglot.com/language/names.htm"; */
>       public enum LANGUAGE {
>               ENGLISH("en", "English", "eng"),
>               SPANISH("es", "Espa?ol", "spa"),
>               DANISH("da", "Dansk", "dan"),
>               GERMAN("de", "Deutsch", "deu"),
>               FINNISH("fi", "Suomi", "fin"),
>               FRENCH("fr", "Fran?ais", "fra"),
>               ITALIAN("it", "Italiano", "ita"),
>               NORWEGIAN("no", "Norsk", "nor"),
>               POLISH("pl", "Polski", "pol"),
>               SWEDISH("se", "Svenska", "svk"),
>               CHINESE("zh-cn", "??(??)", "chn"),
>               CHINESE_TAIWAN("zh-tw", "??(??)", "zh-tw"),
>               UNLISTED("unlisted", "unlisted", "unlisted");
> 
> any string listed here can be used.

Cool. But which standards do these follow? <ISO 639>, <localized name> 
and <ISO 639-3> (though zh-tw seems wrong then)?

- Zero3

Reply via email to