[izpack-devel] New language
Bartz, Klaus
Klaus.Bartz at coi.de
Thu Mar 1 11:11:29 CET 2007
Hi all,
I am also one who do not like flags and country dependant
language selection. But this exist long time in IzPack, therefore
I will not break backward compatibility.
Btw. it is possible to change to non-flag and localized written
language (see docu Advanced Features->Modifying the GUI).
To create "flags" with a code for the language is a good idea.
During this thread I have just remembered me, that
changing to ISO 639-1 (2 letter language code) or
ISO 639-2 (3 letter) will not fix all problems.
In the past we have had one (or more?) problems with "dialects",
e.g. Portuguese for Brasil and for Portugal. And what about
Deutsch and Switzerdütsch?
What I see is, that it cannot be solved with 2 or 3 letter language code.
Jave uses in ResourceBundles a combination of ISO 3166 an ISO 639-1.
What about to change locale handling to this, but holding backward
compatibility? As example
both files
deu.xml
de_CH.xml
will be accept as standard language files for IzPack.
Additional the other localized files marked with an infix or postfix
have to use also both notations like
CustomActionsLang.xml_deu
CustomActionsLang.xml_de_DE
CustomActionsLang.xml_de_CH
But how to handle selection in the language selection box?
If I see it right, class Locale supports this often. For "pt", "BR" I got
"português" "Brasil"
For "fa" "IR" it is "Persisch" "Iran"
(localisation works not for every language on every box).
Should be possible to implement it.
But what about the languages which are only exist in the
3 letter version?? Someone cannot have all...
Cheers
Klaus
> -----Original Message-----
> From: izpack-devel-bounces at lists.berlios.de
> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of
> Grégory Joseph
> Sent: Wednesday, February 28, 2007 6:17 PM
> To: elmar at grom.net; izpack-devel at lists.berlios.de
> Subject: Re: [izpack-devel] New language
>
>
> If I may add my 2 cents, I would just suggest that you guys just get
> rid of the flags altogether. Many languages are spoken in multiple
> countries (english, spanish, french, german, ...) and many countries
> speak multiple languages (Switzerland, Belgium, ...). One way or
> another you're "hurting" someone's sensibilities. The country
> concept
> is irrelevant since you're choosing a language. Use language code,
> use the standard Locale* class, and if you need country-specific
> language variations, java.util.Locale permits this. (new
> Locale(lang,
> country))
>
> Cheers
>
> greg
>
> -----Original Message-----
> From: izpack-devel-bounces at lists.berlios.de
> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of
> Mike Patterson
> Sent: Wednesday, February 28, 2007 6:38 PM
> To: elmar at grom.net; izpack-devel at lists.berlios.de
> Subject: Re: [izpack-devel] New language
>
>
> I recommend that izPack follows the ISO 639-2 language
> standard. The table at
> http://www.loc.gov/standards/iso639-2/php/English_list.php
> shows all 3-letter and 2-letter codes. I recommend that we
> don't use flags, but rather use the language code as the
> symbol -- the 2-letter code when available, or the 3-letter
> code otherwise. RFC 4646 - http://tools.ietf.org/html/rfc4646
> - provides loads of background.
>
> -- Mike
>
> -----Original Message-----
> From: izpack-devel-bounces at lists.berlios.de
> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of Elmar Grom
> Sent: Wednesday, February 28, 2007 8:26 AM
> To: izpack-devel at lists.berlios.de
> Subject: Re: [izpack-devel] New language
>
> yes, that is a tricky one. Tino's idea is an interesting one.
> Can you ask the person who requested this what he/she things about it?
>
> The other problem is of course the ISO code to use. Can that
> person tell us what language/country code they have on their
> machine? Alternatively, as long as it is only IzPack internal
> we can always invent our own...
>
> Elmar
>
> -----Original Message-----
> From: izpack-devel-bounces at lists.berlios.de
> [mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of
> Tino Schwarze
> Sent: Wednesday, February 28, 2007 1:56 AM
> To: izpack-devel at lists.berlios.de
> Subject: Re: [izpack-devel] New language
>
>
> On Wed, Feb 28, 2007 at 10:41:26AM +0100, Bartz, Klaus wrote:
>
> > someone has me requested me about a new language.
> > On principle no problem, but it is Farsi and
> > actuall there is no state Persia. And what flag
> > to use for it...
> > I tend to change "our ISO3" from ISO 3166-1 (a
> > three letter country code) to ISO 639-2 ( a three
> > letter language code). Any comment?
> > Secound what about the flag. May be there are some
> > people which loves if we use the flag of Iran, but
> > may be also there are some people which hate it.
> > I tend to create a "NonFlag" for this. Also comments?
>
> Maybe a picture with the native writing of "Farsi" would be the best.
>
> Tino.
>
> --
> www.quantenfeuerwerk.de
> www.spiritualdesign-chemnitz.de
> www.lebensraum11.de
>
> Tino Schwarze * Parkstraße 17h * 09120 Chemnitz
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>
More information about the izpack-devel
mailing list