Unverified Commit 2a8d5d8b authored by mats Dufberg's avatar mats Dufberg Committed by GitHub
Browse files

Merge pull request #900 from matsduf/add-spanish

Adds Spanish language (es_ES) to various places
parents aa0f126d 928d2b9e
......@@ -240,6 +240,7 @@ Language | Preferred language tag | Deprecated language tag
---------|------------------------|------------------
Danish | da | da_DK
English | en | en_US
Spanish | es | es_ES
Finnish | fi | fi_FI
French | fr | fr_FR
Norwegian| nb | nb_NO
......@@ -520,6 +521,8 @@ Example response:
"da_DK",
"en",
"en_US",
"es",
"es_ES",
"fi",
"fi_FI",
"fr",
......
......@@ -282,6 +282,7 @@ Language | Locale tag value | Language code | Locale value used
---------|------------------|---------------|------------------
Danish | da_DK | da | da_DK.UTF-8
English | en_US | en | en_US.UTF-8
Spanish | es_ES | es | es_ES.UTF-8
Finnish | fi_FI | fi | fi_FI.UTF-8
French | fr_FR | fr | fr_FR.UTF-8
Norwegian| nb_NO | nb | nb_NO.UTF-8
......@@ -290,7 +291,7 @@ Swedish | sv_SE | sv | sv_SE.UTF-8
Setting in the default configuration file:
```
locale = da_DK en_US fi_FI fr_FR nb_NO sv_SE
locale = da_DK en_US es_ES fi_FI fr_FR nb_NO sv_SE
```
#### Installation considerations
......
......@@ -190,7 +190,7 @@ See the [post-installation] section for post-installation matters.
Install required locales:
```sh
sudo perl -pi -e 's/^# (da_DK\.UTF-8.*|en_US\.UTF-8.*|fi_FI\.UTF-8.*|fr_FR\.UTF-8.*|nb_NO\.UTF-8.*|sv_SE\.UTF-8.*)/$1/' /etc/locale.gen
sudo perl -pi -e 's/^# (da_DK\.UTF-8.*|en_US\.UTF-8.*|es_ES\.UTF-8.*|fi_FI\.UTF-8.*|fr_FR\.UTF-8.*|nb_NO\.UTF-8.*|sv_SE\.UTF-8.*)/$1/' /etc/locale.gen
sudo locale-gen
```
......@@ -198,6 +198,7 @@ After the update, `locale -a` should at least list the following locales:
```
da_DK.utf8
en_US.utf8
es_ES.utf8
fi_FI.utf8
fr_FR.utf8
nb_NO.utf8
......
......@@ -34,7 +34,7 @@ database_file = /var/lib/zonemaster/db.sqlite
#enable_add_batch_job = no
[LANGUAGE]
locale = da_DK en_US fi_FI fr_FR nb_NO sv_SE
locale = da_DK en_US es_ES fi_FI fr_FR nb_NO sv_SE
[PUBLIC PROFILES]
#example_profile_1=/example/directory/test1_profile.json
......
......@@ -16,5 +16,5 @@ number_of_processes_for_batch_testing=20
#seconds
[LANGUAGE]
locale = da_DK en_US fi_FI fr_FR nb_NO sv_SE
locale = da_DK en_US es_ES fi_FI fr_FR nb_NO sv_SE
......@@ -16,5 +16,5 @@ number_of_processes_for_batch_testing=20
#seconds
[LANGUAGE]
locale = da_DK en_US fi_FI fr_FR nb_NO sv_SE
locale = da_DK en_US es_ES fi_FI fr_FR nb_NO sv_SE
......@@ -13,5 +13,5 @@ number_of_processes_for_batch_testing=20
#seconds
[LANGUAGE]
locale = da_DK en_US fi_FI fr_FR nb_NO sv_SE
locale = da_DK en_US es_ES fi_FI fr_FR nb_NO sv_SE
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment