|  | 
|
| Reporter | Love4Boobies | Assigned To |  |  | 
|---|
| Priority | normal | Severity | Objection | Type | Omission | 
|---|
| Status | New | Resolution | Open |  | 
|---|
|  | 
|
| Name | Bogdan Barbu | 
|---|
| Organization |  | 
|---|
| User Reference |  | 
|---|
| Section | gettext, ngettext | 
|---|
| Page Number | https://pubs.opengroup.org/onlinepubs/9799919799/utilities/gettext.html | 
|---|
| Line Number | N/A | 
|---|
| Interp Status |  | 
|---|
| Final Accepted Text |  | 
|---|
|  | 
|
|  | 
|
| Summary | 0001952: (n)gettext and NLSPATH | 
|---|
| Description | On XSI systems, gettext and ngettext require NLSPATH to take precedence over TEXTDOMAINDIR. This is undesirable because it means every one-off script using translations has to install its translation files in the system's global locale directory. Should such scripts instead choose to change NLSPATH to, say, a local subdirectory then all other utilities used by the script (including gettext/ngettext) would lose access to their own translations. Imagine a situation where in order to use an install script you have to first install its messages/catalogs. | 
|---|
| Desired Action | NLSPATH should control gettext/ngettext's own translations (e.g., diagnostics messages). TEXTDOMAINDIR should control the translations requested of gettext/ngettext. If it's not set, maybe then fall back to NLSPATH.
 | 
|---|
| Tags | No tags attached. | 
|---|