public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ankit at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug localedata/13169] NLSPATH environment variable not in use for dynamically changing Message Catalog location path
Date: Wed, 28 Dec 2011 09:56:00 -0000	[thread overview]
Message-ID: <bug-13169-131-p5w34w3icp@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-13169-131@http.sourceware.org/bugzilla/>

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.


  parent reply	other threads:[~2011-12-28  9:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08 10:27 [Bug localedata/13169] New: " ankit at redhat dot com
2011-09-08 10:28 ` [Bug localedata/13169] " ankit at redhat dot com
2011-12-22 23:47 ` drepper.fsp at gmail dot com
2011-12-28  9:56 ` ankit at redhat dot com [this message]
2011-12-28 11:19 ` drepper.fsp at gmail dot com
2014-06-27 12:08 ` fweimer at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-13169-131-p5w34w3icp@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).