[tor-commits] [gettor-web/translations] restore more languages on the translations branch, for translators preview

emmapeel at torproject.org emmapeel at torproject.org
Thu Mar 25 16:37:39 UTC 2021


commit 39924f55cc5ee71e34a811a93909a4eac1811143
Author: emma peel <emma.peel at riseup.net>
Date:   Thu Mar 25 17:37:26 2021 +0100

    restore more languages on the translations branch, for translators preview
---
 GetTor.lektorproject      | 20 ++++++++++++++++++++
 configs/i18n.ini          |  2 +-
 databags/alternatives.ini | 24 ++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 1 deletion(-)

diff --git a/GetTor.lektorproject b/GetTor.lektorproject
index 287a687..0582280 100644
--- a/GetTor.lektorproject
+++ b/GetTor.lektorproject
@@ -4,12 +4,22 @@ url = https://gettor.torproject.org/
 url_style = relative
 locale = en
 
+[alternatives.ar]
+name = عربية (ar)
+url_prefix = /ar/
+locale = ar
+
 [alternatives.en]
 name = English (en)
 primary = yes
 url_prefix = /
 locale = en
 
+[alternatives.de]
+name = Deutsch
+url_prefix = /de/
+locale = de
+
 [alternatives.es]
 name = Español
 url_prefix = /es/
@@ -20,6 +30,11 @@ name = Français
 url_prefix = /fr/
 locale = fr
 
+[alternatives.mk]
+name = Macedonian (mk)
+url_prefix = /mk/
+locale = mk
+
 [alternatives.pt-BR]
 name = Português (Brasil)
 url_prefix = /pt-BR/
@@ -29,3 +44,8 @@ locale = pt-BR
 name = Türkçe
 url_prefix = /tr/
 locale = tr
+
+[alternatives.zh-CN]
+name = 简体中文 (zh-CN)
+url_prefix = /zh-CN/
+locale = zh-CN
diff --git a/configs/i18n.ini b/configs/i18n.ini
index 7ff03d0..66c15d7 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
 content = en
-translations = es,fr,pt-BR,tr
+translations = ar,de,es,fr,mk,pt-BR,tr,zh-CN
 i18npath = i18n
 translate_paragraphwise = False
 url_prefix = https://gettor.torproject.org/
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index 71abfb1..d839e53 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -4,6 +4,18 @@ order = order-last
 url =  /
 language = English (en)
 
+[ar]
+direction = text-right
+order = order-last
+url = /ar/
+language = عربية (ar)
+
+[de]
+direction = text-left
+order = order-last
+url = /de/
+language = Deutsch (de)
+
 [es]
 direction = text-left
 order = order-last
@@ -16,6 +28,12 @@ order = order-last
 url = /fr/
 language = Français (fr)
 
+[mk]
+direction = text-left
+order = order-last
+language = македонски (mk)
+url = /mk/
+
 [pt-BR]
 direction = text-left
 order = order-last
@@ -27,3 +45,9 @@ direction = text-left
 order = order-last
 url = /tr/
 language = Türkçe (tr)
+
+[zh-CN]
+direction = text-left
+order = order-last
+url = /zh-CN/
+language = 简体中文 (zh-CN)



More information about the tor-commits mailing list