Skip to content

Commit 2f434eb

Browse files
author
Tom
authored
Split languages.toml (#919)
1 parent 77c7c9c commit 2f434eb

16 files changed

Lines changed: 191 additions & 216 deletions

TRANSLATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Check [existing translation pull-requests](https://github.com/letsencrypt/websit
99

1010
### First pull-request
1111

12-
1. In `config\_default\languages.toml`, add your language.
12+
1. In `config\_default\`, copy `config\_default\languages.en.toml` into `config\_default\languages.XX.toml` (where XX is your language code) and update it following indications given in comments (lines starting with `#`)
1313
2. In `config\_default\`, copy `config\_default\menu.en.toml` into `config\_default\menu.XX.toml` (where XX is your language code), translate `name =` and prefix urls with `/XX/`.
1414
3. In `i18n\` copy `en.toml` into `XX.toml` (where XX is your language code) and translate the strings.
1515
4. Add your language in `netlify.toml` and `layouts\_partial\langs.html`.

config/_default/languages.de.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
title = "Let's Encrypt - Freie SSL/TLS Zertifikate"
2+
contentDir = "content/de"
3+
languageName = "Deutsch"
4+
languageCode = "de-DE"
5+
beforeColon = ""
6+
weight = 200
7+
description = """
8+
Let's Encrypt ist eine freie, automatisierte und offene Zertifizierungsstelle,
9+
herausgebracht für Sie durch <a href="https://www.abetterinternet.org/">Internet Security Research Group (ISRG)</a>.
10+
"""
11+
paypalDonateImage = "https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donateCC_LG.gif"
12+
paypalCountry = "DE"
13+
numberFormat = "-|.|,"

config/_default/languages.en.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
title = "Let's Encrypt - Free SSL/TLS Certificates"
2+
contentDir = "content/en"
3+
#The namge of the language, it that language (not in English if it's not English)
4+
languageName = "English"
5+
#The language code. Usually two lower-case letters. It that language is spoken in more than one country, the country-code can be added, uppercase. To check it: https://r12a.github.io/app-subtags/?check=pt-BR
6+
languageCode = "en-US"
7+
#if colon ":" must be prefixed with a space : "&nbsp;" (example in [fr])
8+
beforeColon = ""
9+
# Weight used for sorting.
10+
# 10 for English
11+
# Other languages from 100 to 999, alphabetical order using languageCode.
12+
weight = 10
13+
description = """
14+
Let's Encrypt is a free, automated, and open certificate
15+
authority brought to you by the nonprofit <a href="https://www.abetterinternet.org/">Internet Security Research Group (ISRG)</a>.
16+
"""
17+
# PayPal image url from https://www.paypal.com/donate/buttons/unhosted
18+
paypalDonateImage = "https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
19+
# A country where PayPal has support for the language must be chosen. Click a Donate button and modify the GET parameters "country.x" and "locale.x" to find what is supported.
20+
paypalCountry = "US"
21+
# Number format : <negative>|<decimal>|<grouping>
22+
# Ex. for -1 2345.67 -> "-|.| "
23+
# Doc: https://gohugo.io/functions/numfmt/
24+
numberFormat = "-|.|,"

config/_default/languages.es.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
title = "Let's Encrypt - Certificados SSL/TLS Gratuitos"
2+
contentDir = "content/es"
3+
languageName = "Español"
4+
languageCode = "es-US"
5+
beforeColon = "&nbsp;"
6+
weight = 250
7+
description = """
8+
Let's Encrypt es una autoridad de certificación gratuita, automatizada, y abierta traida a ustedes por la organización sin ánimos de lucro <a href="https://www.abetterinternet.org/">Internet Security Research Group (ISRG)</a>.
9+
"""
10+
paypalDonateImage = "https://www.paypalobjects.com/es_XC/i/btn/btn_donateCC_LG.gif"
11+
paypalCountry = "ES"
12+
numberFormat = "-|.|,"

config/_default/languages.fr.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
title = "Let's Encrypt - Certificats SSL/TLS gratuits"
2+
languageName = "Français"
3+
contentDir = "content/fr"
4+
languageCode = "fr-FR"
5+
beforeColon = "&nbsp;"
6+
weight = 300
7+
description = """
8+
Let's Encrypt est une autorité de certification gratuite, automatisée et ouverte
9+
apporté par l'<a href="https://www.abetterinternet.org/">Internet Security Research Group (ISRG)</a>, organisme à but non lucratif.
10+
"""
11+
paypalDonateImage = "https://www.paypalobjects.com/fr_FR/FR/i/btn/btn_donateCC_LG.gif"
12+
paypalCountry = "FR"
13+
numberFormat = "-|,| "

config/_default/languages.id.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
title = "Let's Encrypt - Sertifikat SSL/TLS Gratis"
2+
contentDir = "content/id"
3+
languageName = "Bahasa Indonesia"
4+
languageCode = "id-ID"
5+
beforeColon = ""
6+
weight = 350
7+
description = """
8+
Let's Encrypt adalah otoritas sertifikasi terbuka yang gratis dan terotomatisasi,
9+
dipersembahkan oleh organisasi non-profit <a href="https://www.abetterinternet.org/">Internet Security Research Group (ISRG)</a>.
10+
"""
11+
paypalDonateImage = "https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
12+
paypalCountry = "US"
13+
numberFormat = "-|.|,"

config/_default/languages.ja.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
title = "Let's Encrypt - フリーな SSL/TLS 証明書"
2+
contentDir = "content/ja"
3+
languageName = "日本語"
4+
languageCode = "ja"
5+
beforeColon = ""
6+
weight = 400
7+
description = """
8+
Let's Encrypt is a free, automated, and open certificate
9+
authority brought to you by the non-profit <a href="https://www.abetterinternet.org/">Internet Security Research Group (ISRG)</a>.
10+
"""
11+
paypalDonateImage = "https://www.paypalobjects.com/ja_JP/JP/i/btn/btn_donateCC_LG.gif"
12+
paypalCountry = "US"
13+
numberFormat = "-|.|,"

config/_default/languages.ko.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
title = "Let's Encrypt - 무료 SSL/TLS 인증서"
2+
contentDir = "content/ko"
3+
languageName = "한국어"
4+
languageCode = "ko-KR"
5+
beforeColon = ""
6+
weight = 450
7+
description = """
8+
Let's Encrypt는 <a href="https://www.abetterinternet.org/"> 비영리 인터넷 보안 연구 그룹 (ISRG)</a>에서 가져온 무료, 자동 및 공개 인증 기관입니다.
9+
"""
10+
paypalDonateImage = "https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
11+
paypalCountry = "US"
12+
numberFormat = "-|.|,"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
title = "Let's Encrypt - Certificados SSL/TLS Gratuitos"
2+
contentDir = "content/pt-br"
3+
languageName = "Português do Brasil"
4+
languageCode = "pt-BR"
5+
beforeColon = ""
6+
weight = 500
7+
description = """
8+
Let's Encrypt é uma autoridade certificadora gratuita, automatizada e aberta
9+
que se tornou possível graças à organização sem fins lucrativos <a href="https://www.abetterinternet.org/">Internet Security Research Group (ISRG)</a>
10+
"""
11+
paypalDonateImage = "https://www.paypalobjects.com/pt_BR/BR/i/btn/btn_donateCC_LG.gif"
12+
paypalCountry = "BR"
13+
numberFormat = "-|.|,"

config/_default/languages.ru.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
title = "Let's Encrypt - Free SSL/TLS Certificates"
2+
contentDir = "content/ru"
3+
languageName = "Русский"
4+
languageCode = "ru-RU"
5+
beforeColon = ""
6+
weight = 550
7+
description = """
8+
Let's Encrypt - это бесплатный, автоматизированный и открытый Центр Сертификации, созданный для вас
9+
некоммерческой организацией <a href="https://www.abetterinternet.org/">Internet Security Research Group (ISRG)</a>.
10+
"""
11+
paypalDonateImage = "https://www.paypalobjects.com/ru_RU/RU/i/btn/btn_donateCC_LG.gif"
12+
paypalCountry = "US"
13+
numberFormat = "-|.|,"

0 commit comments

Comments
 (0)