Le lundi 21 février 2011, à 02:29 +0100, Cristian Morales Vega a écrit :
2011/1/14 Stephan Kulow <coolo@suse.de>:
rpmlint already checks supported locales.
Any good packager oriented documentation about all this? Or should I read the full gettext manual?
I guess it depends what you need to be documented :-) Is it "what is a valid locale" (see intro at [1]), "what is a supported locale" (this depends on the distro, see rpmlint check for openSUSE), or something else? [1] http://en.wikipedia.org/wiki/Locale
The list at https://build.opensuse.org/package/view_file?project=Base:System&package=filesystem&file=languages is confusing. There are both "de" and "de_DE", also "es" and "es_ES"; but no "ca_ES" even if there is "ca".
Now I have a package that wants to install "ca_AD", "ca_ES", "ca_FR" and "ca_IT"... but no "ca". What should I do? There is a bug to report upstream here? The four ca_*.po files are identical...
If the four files are identical, then it's certainly suboptimal to have those four territory-specific locales instead of having a somple ca locale. If a user is using the ca_ES locale, the system will first look for ca_ES translations and then, if ca_ES doesn't exist for this specific gettext package, it will look for ca translations. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org