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

Bug#833317: en



On Thu, 21 Feb 2019 10:08:03 +0100 =?UTF-8?Q?G=C3=BCrkan_Myczko?= <gurkan@phys.ethz.ch> wrote:
> Hello Roland
> 
> Can you try with version 2.0? It also doesn't have en locale in the 
> locale directory, however
> it is default english.

It has been a while and I have changed systems twice in the meantime… ^^
With flowblade 2.4-1, I'm still getting a German interface with:

    $ locale
    LANG=en_US.UTF-8
    LANGUAGE=en_US:en
    LC_CTYPE=de_DE.UTF-8
    LC_NUMERIC=en_US.UTF-8
    LC_TIME=de_DE.UTF-8
    LC_COLLATE=de_DE.UTF-8
    LC_MONETARY=de_DE.UTF-8
    LC_MESSAGES=en_US.UTF-8
    LC_PAPER=de_DE.UTF-8
    LC_NAME=de_DE.UTF-8
    LC_ADDRESS=de_DE.UTF-8
    LC_TELEPHONE=de_DE.UTF-8
    LC_MEASUREMENT=de_DE.UTF-8
    LC_IDENTIFICATION=de_DE.UTF-8
    LC_ALL=

> You have a mixture of everything in your locale 
> settings, not sure what
> you expect upstream or maintainer to do?

Given that I live in Germany, it makes sense for me to set certain
locale variables to de_DE.UTF-8, e.g. time formatting, currency,
collation order, paper format etc. The usual way is to respect LANG,
LANGUAGE or LC_MESSAGES for user interface output:

    $ LANGUAGE=en_US git status
    fatal: not a git repository (or any of the parent directories): .git
    $ LANGUAGE=de_DE git status
    fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git

    $ LANGUAGE=en_US cat nonexistent
    cat: nonexistent: No such file or directory
    $ LANGUAGE=de_DE cat nonexistent
    cat: nonexistent: Datei oder Verzeichnis nicht gefunden

Apparently [1] the precedence is LANGUAGE, LC_ALL, LC_MESSAGES, LANG:

    $ LANG= LANGUAGE= LC_ALL= LC_MESSAGES=de_DE.UTF-8 git status
    fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git
    $ LANG= LANGUAGE= LC_ALL= LC_MESSAGES=en_US.UTF-8 git status
    fatal: not a git repository (or any of the parent directories): .git

Maybe that has something to do with it? But note that all of these four
variables are set to en_US in my case.

[1]: https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html

 - Roland


Reply to: