Re: ldm and l10n display

Warren Togami <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
Oliver Grawert wrote:
> hi,
> Am Montag, den 14.04.2008, 00:43 -0400 schrieb Warren Togami:
>> Hi Vagrant,
>>
>> Do you know how ldm gets its locale from the environment?  Discovered 
>> just now that ldm-2.0.2 on Fedora 9 isn't displaying any translations 
>> despite the standard method of setting the LANG.
>>
>> /etc/sysconfig/i18n on the client chroot has:
>> LANG="ja_JP.UTF-8"
>>
>> I notice that ldm code itself only gets the displayed language from 
>> LDM_LANGUAGE.  I tried setting it in lts.conf and it still doesn't 
>> display ja_JP.
> did you generate the locale with locale-gen before tryng to use it ? in
> ubuntu you can use every locale you want at any time, but the actual
> locale-gen command is only called during install of the matching
> language-pack-$lang package (which i dont put into the chroot since it
> depends on a lot extra stuff i dont want installed in a chroot, so i
> have to call locale-gen separately from a ltsp-build-client plugin) is
> there probably a similar mecanism in fedora ?
> 
> ciao

I have never heard of locale-gen, and we don't play games like this ever 
in Fedora.  I see all of the .mo files as:
/usr/share/locale/de/LC_MESSAGES/ldm.mo
/usr/share/locale/es/LC_MESSAGES/ldm.mo
/usr/share/locale/eu/LC_MESSAGES/ldm.mo
/usr/share/locale/fi/LC_MESSAGES/ldm.mo
/usr/share/locale/fr/LC_MESSAGES/ldm.mo
/usr/share/locale/hu/LC_MESSAGES/ldm.mo
/usr/share/locale/ja/LC_MESSAGES/ldm.mo
/usr/share/locale/nb/LC_MESSAGES/ldm.mo
/usr/share/locale/sv/LC_MESSAGES/ldm.mo

Warren

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.