Project

General

Profile

Feature #6001

Fix locales format based on wrong assumption

Added by Tails about 6 years ago. Updated about 1 year ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Internationalization
Target version:
-
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
No
Affected tool:

Description

A few places in Tails (git grep LANG) assume everything that can be in $LANG starts with the xx_XX form, which is, unfortunately, not true: e.g. fil_PH.

Instead of relying home-made shell trickery and re-inventing the wheel we should consider using some existing library or tool for this, or we should read the standards so we can prevent buggy edge cases.


Related issues

Related to Tails - Feature #6142: Factor out $LANG parsing Confirmed
Related to Tails - Feature #17002: Do stats on the languages in which people start Tails Resolved
Duplicated by Tails - Feature #17003: tails-security-check doesn't support language codes with 3 characters Duplicate

History

#1 Updated by BitingBird over 5 years ago

  • Subject changed from fix locales form wrong assumption to Fix locales form wrong assumption
  • Description updated (diff)
  • Starter set to No

#2 Updated by intrigeri about 5 years ago

#3 Updated by BitingBird over 4 years ago

  • Category set to Internationalization

#4 Updated by intrigeri over 1 year ago

I still see #6001 at least in config/chroot_local-includes/usr/local/bin/tails-security-check and config/chroot_local-includes/usr/local/bin/tails-documentation.

#5 Updated by u about 1 year ago

  • Subject changed from Fix locales form wrong assumption to Fix locales format based on wrong assumption

#6 Updated by intrigeri 21 days ago

  • Duplicated by Feature #17003: tails-security-check doesn't support language codes with 3 characters added

#7 Updated by intrigeri 21 days ago

  • Related to Feature #17002: Do stats on the languages in which people start Tails added

Also available in: Atom PDF