New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1358 votes ~ 15 comments )

 

Weblog entry #5 for gouki

Generating Locales
Posted by gouki on Tue 17 Feb 2009 at 20:15
Tags: none.

I'm used to do a simple dpkg-reconfigure locales and select all to get all locales generated, under Debian.

Since this doesn't work under Ubuntu, I'm writing this post more for a personal note.

A full list of supported locales under Ubuntu is located at /usr/share/i18n/SUPPORTED, and importing that list into /var/lib/locales/supported.d/local and reconfiguring them will force it to generate all supported locales.

cat /usr/share/i18n/SUPPORTED > /var/lib/locales/supported.d/local && dpkg-reconfigure locales

 

Comments on this Entry

Posted by rjc (85.12.xx.xx) on Wed 18 Feb 2009 at 15:10
[ Send Message ]
Any reason why you need all the available locales?

--
rjc

[ Parent ]

Posted by gouki (85.241.xx.xx) on Wed 18 Feb 2009 at 18:59
[ Send Message | View Weblogs ]

Just because I don't want to have to generate locales every time a new language is added, and .mo file included on the website.

Since the whole translation process + inclusion on the website is already boring as hell, I thought I could delete something by generating all of them.

P.S.: Markdown syntax for entries and comments would be awesome.
-----
Tiago Faria

[ Parent ]

Posted by rjc (81.102.xx.xx) on Wed 18 Feb 2009 at 20:01
[ Send Message ]
Is it a server with a shell? How many different languages do users use? Surely, not all of them. Generating locale is time/resource consuming and you'll have to regenerate all of them every time they're updated. What is the point of it?
--
rjc

[ Parent ]

 

 

Flattr