[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [bug #53516] $LANGUAGE doesn't take "en" into account

From: Maxime Buquet
Subject: [bug-gettext] [bug #53516] $LANGUAGE doesn't take "en" into account
Date: Thu, 29 Mar 2018 13:50:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0


                 Summary: $LANGUAGE doesn't take "en" into account
                 Project: GNU gettext
            Submitted by: ppjet
            Submitted on: Thu 29 Mar 2018 05:50:56 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



I am filling this following

I wanted to try out $LANGUAGE, here is what I have in /etc/locale.conf:

(Note the man says LC_ALL may not be configured in this file, but it's not the
point here).

I get applications displaying text in "en", "fr", and "ja", whereas I would
only get "en" without $LANGUAGE set.

This doesn't only apply to GNOME software, but most projects using gettext out
there I have used.

Please tell me if this analysis is wrong: I believe projects often use english
as their default language, and when $LANGUAGE is set, gettext will look for
available translations in the order declared, won't find any for english, then
look for other languages, and then fallback on msgid if nothing is found.

What could be done to fix this is to ask projects to use actual translations
for english (having an en.po), or a better solution might be to allow them to
declare that msgid is actually a language, and what language it is, (setting
"en" as default probably?).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]