add ja, tk translations. closes: tpo/web/manual#156

This commit is contained in:
emmapeel 2024-03-07 16:56:02 +00:00 committed by Gus
parent 0755bfb24e
commit 667e4d1f2d
4 changed files with 25 additions and 3 deletions

View File

@ -19,8 +19,8 @@ RewriteRule ^(es-ES|es-MX|es-CO|es-AR)/(.*) /es/$2 [R=302,L]
# Rewrites for languages that have a Tor Browser release
# but don't have a translated manual
# this languages are the priority for translation of the Tor Browser User Manual!
RewriteRule ^(cs|da|ja|ms|nb-NO|nl|sv-SE)$ / [R=302,L]
RewriteRule ^(cs|da|ja|ms|nb-NO|nl|sv-SE)/(.*) /$2 [R=302,L]
RewriteRule ^(cs|da|ms|nb-NO|nl|sv-SE)$ / [R=302,L]
RewriteRule ^(cs|da|ms|nb-NO|nl|sv-SE)/(.*) /$2 [R=302,L]
# we have only one translation for this locales
RewriteRule ^bn-(BD|IN)$ /bn [R=302,L]

View File

@ -1,5 +1,5 @@
content = en
translations = ar,bn,ca,de,el,es,fa,fi,fr,ga,he,hu,id,is,it,ka,km,ko,lt,mk,my,pl,pt-BR,pt-PT,ro,ru,sq,sw,th,tr,uk,vi,zh-CN,zh-TW
translations = ar,bn,ca,de,el,es,fa,fi,fr,ga,he,hu,id,is,it,ja,ka,km,ko,lt,mk,my,pl,pt-BR,pt-PT,ro,ru,sq,sw,th,tk,tr,uk,vi,zh-CN,zh-TW
i18npath = i18n
url_prefix = https://tb-manual.torproject.org/
translate_paragraphwise = False

View File

@ -94,6 +94,12 @@ order = order-last
url = /is/
language = Íslenska (is)
[ja]
direction = text-left
order = order-last
language = 日本語 (ja)
url = /ja/
[ka]
direction = text-left
order = order-last
@ -178,6 +184,12 @@ order = order-last
url = /th/
language = ภาษาไทย (th)
[tk]
direction = text-left
order = order-last
url = /tk/
language = türkmençe (tk)
[tr]
direction = text-left
order = order-last

View File

@ -85,6 +85,11 @@ name = Italiano (it)
url_prefix = /it/
locale = it
[alternatives.ja]
name = 日本語 (ja)
url_prefix = /ja/
locale = ja
[alternatives.ka]
name = ქართული (ka)
url_prefix = /ka/
@ -155,6 +160,11 @@ name = ภาษาไทย (th)
url_prefix = /th/
locale = th
[alternatives.tk]
name = türkmençe (tk)
url_prefix = /tk/
locale = tk
[alternatives.tr]
name = Türkçe (tr)
url_prefix = /tr/