[Bug localedata/13169] NLSPATH environment variable not in use for dynamically changing Message Catalog location path

ankit at redhat dot com sourceware-bugzilla@sourceware.org
Wed Dec 28 09:56:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=13169

--- Comment #2 from Ankit Patel <ankit at redhat dot com> 2011-12-28 09:55:50 UTC ---
I think I was unable to explain the issue.

1. Run the command LANG=gu_IN.utf-8 gedit
2. It shows Gujarati (gu-IN) localized gedit, where the translations are picked
up from the default location "/usr/share/locale/gu_IN/LC_MESSAGES/gedit.mo

Now I want to use a custom path, to pick up the translations
1. So if I run "export NLSPATH=/home/ankit/temp_locale"
2. and run "LANG=gu_IN.utf-8 gedit" it will show me localized gedit, but this
time the translation messages are picked up from a new location
"/home/ankit/temp_locale/gu_IN/LC_MESSAGES/gedit.mo", which is not happening.

So, is it possible to use NLSPATH to set custom paths of locations of
translation binaries (mo files)?

Thanks!
Ankit

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list