Wednesday, December 9, 2009

Locale on Ubuntu

Using setlocale isn't easy. You have to know the exact name of the language package you want to use,

On ubuntu, to see the list of available options, we can perform "locale -a". To install a new language, "apt-get install language-pack-**-base" and then restart apache.