Skip to content

tails-security-check doesn't support language codes with 3 characters

Line 60 of tails-security-check seems to assume that the language part of a locale code is 3 characters long:

    my ($code) = ($ENV{LANG} =~ m/([a-z]{2}).*/);

Some language codes are 3 characters long. For example, in /usr/share/locale/:

  • ace
  • ach
  • ang
  • anp
  • ast
  • bal
  • bar
  • brx
  • byn
  • chr
  • etc.

Related issues

Original created by @sajolida on 17003 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information