Skip to content

-L does nothing on C/POSIX locale #187

Description

@zdimension

If the system locale is C or POSIX, then the -L flag does nothing.

On my machine, for example,

$ locale
LANG=C.UTF-8
LANGUAGE=
$ locale -a
C
C.utf8
POSIX
fr_FR.utf8

$ bash start.sh -L fr
[starts in English]
$ bash start.sh -R -L it
[starts in English]

$ LANG=fr_FR.utf8 bash start.sh -R
[starts in French]
$ LANG=fr_FR.utf8 bash start.sh -R -L fr
[starts in Italian]

Maybe the docs should be updated to indicate setting the LANG env var (or LC_MESSAGESn or LC_ALL, ...) is required for it to work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions