Project

General

Profile

Bug #16806

Formats from Greeter not respected

Added by sajolida 3 months ago. Updated 22 days ago.

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

0%

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

Description

Both 3.14 and bc022ef71e and affected:

  • When I start Tails in French/France, I get A4 by default in LibreOffice
  • When I start Tails in English/United States, I get Letter by default in LibreOffice

So far so good, but:

  • When I start Tails in French/United States, I get A4 by default in LibreOffice
  • When I start Tails in English/France, I get Letter by default in LibreOffice

Once this is fixed, tech writers will have to update /doc/first_steps/startup_options/US_calendar_in_Russian.png.


Related issues

Related to Tails - Feature #14544: Spend software developer time on smallish UX improvements In Progress 08/31/2018
Blocks Tails - Feature #16209: Core work: Foundations Team Confirmed

History

#1 Updated by intrigeri 3 months ago

#2 Updated by intrigeri 3 months ago

  • When I start Tails in English/France

I've tried this both on feature/buster and 3.14 and indeed, the locales are not configured correctly:

$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8" 
LC_NUMERIC="en_US.UTF-8" 
LC_TIME="en_US.UTF-8" 
LC_COLLATE="en_US.UTF-8" 
LC_MONETARY="en_US.UTF-8" 
LC_MESSAGES="en_US.UTF-8" 
LC_PAPER="en_US.UTF-8" 
LC_NAME="en_US.UTF-8" 
LC_ADDRESS="en_US.UTF-8" 
LC_TELEPHONE="en_US.UTF-8" 
LC_MEASUREMENT="en_US.UTF-8" 
LC_IDENTIFICATION="en_US.UTF-8" 
LC_ALL=

… while our code (look for TAILS_FORMATS in https://git.tails.boum.org/greeter) has had the expected side effect:

$ cat /etc/default/locale 
LANG=en_US.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8

So it sounds like either something-GNOME-ish overrides /etc/default/locale, or something-else-GNOME-ish stopped honoring /etc/default/locale at some point.

#3 Updated by intrigeri 3 months ago

  • Status changed from New to Confirmed

#4 Updated by sajolida 22 days ago

  • Related to Feature #14544: Spend software developer time on smallish UX improvements added

#5 Updated by sajolida 22 days ago

  • Description updated (diff)

Also available in: Atom PDF