Hello Hanoi,

I'm using GNU gettext to do some i18n on an application. It appears
that in order to set locale to whatever language I'm translating to I
need to have that locale present on my system.

This in itself is no problem. I have my directory structure setup with
the messages.mo files in the relevant places under their locale names
eg: locale/vi_VN/LC_MESSAGES/messages.mo

For French I was using fr_FR, which works fine on my test server but
not on my development machine (Ubuntu Gutsy). I have installed the
French language pack, but this doesn't provide
fr_FR "tout court" - it supplies fr_FR.utf8, etc.

Now I don't particularly care about the nomenclature of my
directories, except that fr_FR.utf8 is illegal in a mysql column name,
and for convenience sake I would like to name fields the same as the
locale name.

Firstly, is it terribly wrong to name my locale directories fr_FR when
they are in fact utf8?

Secondly, how do I get the fr_FR locale on my Gutsy system?

TIA,

Tom

Trả lời cho