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
- Related to #17002 (closed)
- Is duplicate of #6001
Original created by @sajolida on 17003 (Redmine)