Merge remote-tracking branch 'origin/stable' into devel
[tails.git] / features / localization.feature
blobe1638685599523465330618abf72de42af0e45c1
1 @product
2 Feature: Localization
3   As a Tails user
4   I want Tails to be localized in my native language
5   And various Tails features should still work
7   Scenario Outline: Do not localize the XDG User Dirs to be able to use those dirs in Tor Browser (#19255)
8     Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen
9     And I log in to a new session in German (de)
10     Then the amnesiac <dir> directory exists
11     And there is a GNOME bookmark for the amnesiac <dir> directory
12     Examples:
13       | dir |
14       | Documents |
15       | Downloads |
16       | Music |
17       | Pictures |
18       | Videos |
20   @doc @slow @not_release_blocker
21   Scenario Outline: Tails is localized for every tier-1 language
22     Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen
23     When I log in to a new session in <language> (<lang_code>)
24     Then the keyboard layout is set to "<layout>"
25     When the network is plugged
26     And Tor is ready
27     Then I successfully start the Unsafe Browser in "<lang_code>"
28     And I kill the Unsafe Browser
29     When I enable the screen keyboard
30     Then the screen keyboard works in Tor Browser
31     And DuckDuckGo is the default search engine
32     And I kill the Tor Browser
33     And the screen keyboard works in Thunderbird
34     And the layout of the screen keyboard is set to "<osk_layout>"
36     # This list has to be kept in sync' with our list of tier-1 languages:
37     #   https://tails.net/contribute/how/translate/#tier-1-languages
39     # Known issues, that this step effectively verifies are still present:
40     #  - Not all localized layouts exist in the GNOME screen keyboard: #8444
41     #  - Arabic's layout should be "ara": #12638
42     Examples:
43       | language   | layout | osk_layout | lang_code |
44       | Arabic     | us     | us         | ar    |
45       | Chinese    | cn     | us         | zh_CN |
46       | English    | us     | us         | en    |
47       | French     | fr     | fr         | fr    |
48       | German     | de     | de         | de    |
49     # Tests disabled due to #18076
50     # | Hindi      | in     | us         | hi    |
51     # | Indonesian | id     | us         | id    |
52       | Italian    | it     | us         | it    |
53       | Persian    | ir     | ir         | fa    |
54       | Portuguese | pt     | us         | pt    |
55       | Russian    | ru     | ru         | ru    |
56       | Spanish    | es     | us         | es    |
57       | Turkish    | tr     | us         | tr    |