Skip to content

Trippy fails to use system locale #1729

@snackiz

Description

@snackiz

Describe the bug
Trippy fails to use the system locale correctly

To Reproduce
1: Set a locale, see my locale settings below for reference:
$ env | grep 'LC_|LANG' | sort
GDM_LANG=en_US.utf8
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ADDRESS=sv_SE.UTF-8
LC_COLLATE=sv_SE.UTF-8
LC_CTYPE=sv_SE.UTF-8
LC_IDENTIFICATION=sv_SE.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_NUMERIC=sv_SE.UTF-8
LC_PAPER=en_GB.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_TIME=en_GB.UTF-8

2 - Run trip 8.8.8.8

3 - Watch trippy displayed in swedish

Expected behavior
Trippy should start and display english language.

Screenshots

Environment Info

  • OS: Debian trixie
  • Trippy version: trip 0.12.2
  • Installation method: apt install trippy
  • Terminal / Console: terminator 2.1.4

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions