View Issue Details

IDProjectCategoryView StatusLast Update
00019521003.1(2024)/Issue8Shell and Utilitiespublic2025-10-27 15:02
ReporterLove4Boobies Assigned To 
PrioritynormalSeverityObjectionTypeOmission
Status NewResolutionOpen 
NameBogdan Barbu
Organization
User Reference
Sectiongettext, ngettext
Page Numberhttps://pubs.opengroup.org/onlinepubs/9799919799/utilities/gettext.html
Line NumberN/A
Interp Status
Final Accepted Text
Summary0001952: (n)gettext and NLSPATH
DescriptionOn 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 ActionNLSPATH 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.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-10-27 15:02 Love4Boobies New Issue