16 Commits

Author SHA1 Message Date
Florian Schlichting
2a84694331 Unbreak locale selection in admin interface
http://php.net/manual/en/function.setlocale.php says "Different systems
have different naming schemes for locales." This seems to be true for
platforms (eg Win vs. Linux), but on Debian AFAIR locales were always at
least two-part (de_DE), never just one (de). This seems to have been
broken in 504651a3, likely by mistake.

Also, switch locale immediately, even before writing to the database.

BTW, what happens when system default locale is configured to e.g. fr_FR
and the user selects "English" - does that work?
2017-01-17 23:40:26 +01:00
Florian Schlichting
af1707ef1d prepare for 1.1.4 2016-01-03 19:09:56 +01:00
Andrew McMillan
d86132ed54 Current locales. 2011-11-21 10:57:10 +13:00
Andrew McMillan
3198191462 New Spanish(Spain) translation, updated French translations. 2011-10-26 12:36:01 +13:00
Andrew McMillan
504651a3f5 Add new locales and restructure how they are handled.
We now build the dba/supported_locales.sql file from po/locale.values
files for each locale, and we are also fetching the translations from
transifex.net in order to build them.

This commit also adds support for some new locales, especially
Brazilian Portuguese and Mexican Spanish.
2011-08-25 12:45:33 +12:00
Andrew McMillan
ed7ffea332 Updated strings for localisation. 2011-01-14 16:20:16 +13:00
Leho Kraav
904f3069ab add et_EE to support locales 2010-12-27 12:37:16 +13:00
Andrew McMillan
b15c69d8dc New Svenska localisation from Emil Lundberg 2010-03-09 09:20:24 +13:00
Andrew McMillan
68cfe2a5be Added Italian locale by Alessandro De Zorzi 2009-04-06 21:19:52 +12:00
Andrew McMillan
32cc54a081 Fix translation inefficiencies, per Debian bug #495307 2008-09-17 23:07:37 +12:00
Andrew McMillan
e26fc48932 Support Japanese locale ja_JP 2008-02-28 13:57:14 +13:00
Andrew McMillan
0d3005a72d Correct dutch name for "Dutch" 2007-08-05 22:50:13 +12:00
Andrew McMillan
8f048389b3 Add hu_HU as a supported locale. 2007-05-08 23:50:47 +12:00
Andrew McMillan
c05a9e7312 Polish locale is now supported. 2007-04-13 18:14:45 +12:00
Andrew McMillan
974925b76f Added nl_NL locale. 2006-12-02 11:26:57 +13:00
Andrew McMillan
923d10879a Split the supported locales out of the base data so it can be more easily
re-loaded on upgrades.  Added locale for Russian translation from Nick Khazov.
2006-11-14 10:07:53 +13:00