Commit 067f98ad authored by Gus's avatar Gus 🍫
Browse files

Merge branch 'newlangs' into 'main'

new languages: Irish (ga), Dutch (nl), Polish (pl)

See merge request tpo/web/tpo!567
parents 8aa9f6bf e3bd46e1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -187,9 +187,10 @@ RewriteRule ^(en|en-US)/(.*) /$2 [R=302,L]
#
# Rewrites for languages that have a different mapping in the page than in TBB
RewriteRule ^(es-ES|es-MX|es-CO|es-AR)(.*) /es$2 [R=302,L]
RewriteRule ^(ga-IE)(.*) /ga$2 [R=302,L]
#
# Rewrites for languages that have a Tor Browser release
# but don't have a community page
# You can see them at https://dist.torproject.org/torbrowser/, pick the last alpha for the most languages
# this languages are the translation priority for the website!
RewriteRule ^(bn|bn-BD|bn-IN|cs|da|ga|ga-IE|he|id|lt|mk|ms|my|nb-NO|nl|pl|pt-PT|ro|sv-SE|th|uk)/(.*) /$2 [R=302,L]
RewriteRule ^(bn|bn-BD|bn-IN|cs|da|he|id|lt|mk|ms|my|nb-NO|pt-PT|ro|sv-SE|th|uk)/(.*) /$2 [R=302,L]
+1 −1
Original line number Diff line number Diff line
content = en
translations = ar,be,ca,de,el,es,fa,fr,hu,is,it,ja,ka,km,ko,pt-BR,ru,sq,sw,tk,tr,vi,zh-CN,zh-TW
translations = ar,be,ca,de,el,es,fa,fr,ga,hu,is,it,ja,ka,km,ko,nl,pl,pt-BR,ru,sq,sw,tk,tr,vi,zh-CN,zh-TW
i18npath = i18n
translate_paragraphwise = False
url_prefix = https://www.torproject.org/
+18 −0
Original line number Diff line number Diff line
@@ -52,6 +52,12 @@ order = order-last
url = /fr/
language = Français (fr)

[ga]
direction = text-left
order = order-last
url = /ga/
language = Gaeilge (ga)

[hu]
direction = text-left
order = order-last
@@ -94,6 +100,18 @@ order = order-last
language = 한국어(ko)
url = /ko/

[nl]
direction = text-left
order = order-last
url = /nl/
language = Nederlands (nl)

[pl]
direction = text-left
order = order-last
url = /pl/
language = polski (pl)

[pt-BR]
direction = text-left
order = order-last
+15 −0
Original line number Diff line number Diff line
@@ -50,6 +50,11 @@ name = Français (fr)
url_prefix = /fr/
locale = fr

[alternatives.ga]
name = Gaeilge (ga)
url_prefix = /ga/
locale = ga

[alternatives.hu]
name =  Magyar nyelv (hu)
url_prefix = /hu/
@@ -85,6 +90,16 @@ name = 한국어 (ko)
url_prefix = /ko/
locale = ko

[alternatives.nl]
name = Nederlands (nl)
url_prefix = /nl/
locale = nl

[alternatives.pl]
name = polski (pl)
url_prefix = /pl/
locale = pl

[alternatives.pt-BR]
name = Português Brasil (pt-BR)
url_prefix = /pt-BR/