public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/13169] New: NLSPATH environment variable not in use for dynamically changing Message Catalog location path
@ 2011-09-08 20:32 ankit at redhat dot com
  2011-09-08 20:32 ` [Bug localedata/13169] " ankit at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ankit at redhat dot com @ 2011-09-08 20:32 UTC (permalink / raw)
  To: libc-locales

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

             Bug #: 13169
           Summary: NLSPATH environment variable not in use for
                    dynamically changing Message Catalog location path
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales@sources.redhat.com
        ReportedBy: ankit@redhat.com
    Classification: Unclassified


How to use NLSPATH environment variable effectively to use custom path for
Message catalog files. At the moment all applications point to the standard
location "/usr/share/locale" I would like to use different path along with this
path as a fallback. How can I do that?

Thanks!
Ankit

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/13169] NLSPATH environment variable not in use for dynamically changing Message Catalog location path
  2011-09-08 20:32 [Bug localedata/13169] New: NLSPATH environment variable not in use for dynamically changing Message Catalog location path ankit at redhat dot com
@ 2011-09-08 20:32 ` ankit at redhat dot com
  2011-12-23  1:38 ` drepper.fsp at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ankit at redhat dot com @ 2011-09-08 20:32 UTC (permalink / raw)
  To: libc-locales

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

Ankit Patel <ankit at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aalam at redhat dot com,
                   |                            |pnemade at redhat dot com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/13169] NLSPATH environment variable not in use for dynamically changing Message Catalog location path
  2011-09-08 20:32 [Bug localedata/13169] New: NLSPATH environment variable not in use for dynamically changing Message Catalog location path ankit at redhat dot com
  2011-09-08 20:32 ` [Bug localedata/13169] " ankit at redhat dot com
@ 2011-12-23  1:38 ` drepper.fsp at gmail dot com
  2011-12-28 10:30 ` ankit at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-12-23  1:38 UTC (permalink / raw)
  To: libc-locales

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

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |drepper.fsp at gmail dot
                   |                            |com
         Resolution|                            |WORKSFORME

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-12-22 23:46:58 UTC ---
I really don't know what you mean.  There is full support for NLSPATH in
catgets.  You have to use the correct format for the path elements.  Read the
documentation.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/13169] NLSPATH environment variable not in use for dynamically changing Message Catalog location path
  2011-09-08 20:32 [Bug localedata/13169] New: NLSPATH environment variable not in use for dynamically changing Message Catalog location path ankit at redhat dot com
  2011-09-08 20:32 ` [Bug localedata/13169] " ankit at redhat dot com
  2011-12-23  1:38 ` drepper.fsp at gmail dot com
@ 2011-12-28 10:30 ` ankit at redhat dot com
  2011-12-28 13:49 ` drepper.fsp at gmail dot com
  2014-06-27 12:15 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ankit at redhat dot com @ 2011-12-28 10:30 UTC (permalink / raw)
  To: libc-locales

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 the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/13169] NLSPATH environment variable not in use for dynamically changing Message Catalog location path
  2011-09-08 20:32 [Bug localedata/13169] New: NLSPATH environment variable not in use for dynamically changing Message Catalog location path ankit at redhat dot com
                   ` (2 preceding siblings ...)
  2011-12-28 10:30 ` ankit at redhat dot com
@ 2011-12-28 13:49 ` drepper.fsp at gmail dot com
  2014-06-27 12:15 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-12-28 13:49 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #3 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-12-28 11:19:30 UTC ---
(In reply to comment #2)
> 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

gedit almost certainly uses gettext.  And what on earth has gettext to do with
NLSPATH?  Stop bothering people if you don't know what you're talking about.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/13169] NLSPATH environment variable not in use for dynamically changing Message Catalog location path
  2011-09-08 20:32 [Bug localedata/13169] New: NLSPATH environment variable not in use for dynamically changing Message Catalog location path ankit at redhat dot com
                   ` (3 preceding siblings ...)
  2011-12-28 13:49 ` drepper.fsp at gmail dot com
@ 2014-06-27 12:15 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 12:15 UTC (permalink / raw)
  To: libc-locales

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-27 12:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08 20:32 [Bug localedata/13169] New: NLSPATH environment variable not in use for dynamically changing Message Catalog location path ankit at redhat dot com
2011-09-08 20:32 ` [Bug localedata/13169] " ankit at redhat dot com
2011-12-23  1:38 ` drepper.fsp at gmail dot com
2011-12-28 10:30 ` ankit at redhat dot com
2011-12-28 13:49 ` drepper.fsp at gmail dot com
2014-06-27 12:15 ` fweimer at redhat dot com

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).