mirror of
https://github.com/torproject/community.git
synced 2024-11-26 19:20:25 +00:00
add translations: de fa fr ro sw. part of: tpo/web/community#333
This commit is contained in:
parent
c85e82cf85
commit
e2dd06e3d4
@ -19,5 +19,5 @@ RewriteRule ^ga-IE/(.*) /ga$1 [R=302,L]
|
||||
# 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 community portal!
|
||||
RewriteRule ^(ar|ca|cs|da|de|el|fa|fr|ga|ga-IE|he|hu|id|is|it|ja|ka|ko|lt|mk|ms|nb-NO|nl|pl|pt-BR|pt-PT|ro|sq|sv-SE|th|uk|vi|zh-CN|zh-TW)$ / [R=302,L]
|
||||
RewriteRule ^(ar|ca|cs|da|de|el|fa|fr|ga|ga-IE|he|hu|id|is|it|ja|ka|ko|lt|mk|ms|nb-NO|nl|pl|pt-BR|pt-PT|ro|sq|sv-SE|th|uk|vi|zh-CN|zh-TW)/(.*) /$2 [R=302,L]
|
||||
RewriteRule ^(ar|ca|cs|da|el|ga|ga-IE|he|hu|id|is|it|ja|ka|ko|lt|mk|ms|nb-NO|nl|pl|pt-BR|pt-PT|sq|sv-SE|th|uk|vi|zh-CN|zh-TW)$ / [R=302,L]
|
||||
RewriteRule ^(ar|ca|cs|da|el|ga|ga-IE|he|hu|id|is|it|ja|ka|ko|lt|mk|ms|nb-NO|nl|pl|pt-BR|pt-PT|sq|sv-SE|th|uk|vi|zh-CN|zh-TW)/(.*) /$2 [R=302,L]
|
||||
|
@ -10,17 +10,42 @@ primary = yes
|
||||
url_prefix = /
|
||||
locale = en
|
||||
|
||||
[alternatives.de]
|
||||
name = Deutsch (de)
|
||||
url_prefix = /de/
|
||||
locale = de
|
||||
|
||||
[alternatives.es]
|
||||
name = Español (es)
|
||||
primary = yes
|
||||
url_prefix = /es/
|
||||
locale = es
|
||||
|
||||
[alternatives.fa]
|
||||
name = ﻑﺍﺮﺴﯾ (fa)
|
||||
url_prefix = /fa/
|
||||
locale = fa
|
||||
|
||||
[alternatives.fr]
|
||||
name = Français (fr)
|
||||
url_prefix = /fr/
|
||||
locale = fr
|
||||
|
||||
[alternatives.ro]
|
||||
name = Română (ro)
|
||||
url_prefix = /ro/
|
||||
locale = ro
|
||||
|
||||
[alternatives.ru]
|
||||
name = Русский (ru)
|
||||
url_prefix = /ru/
|
||||
locale = ru
|
||||
|
||||
[alternatives.sw]
|
||||
name = Kiswahili
|
||||
url_prefix = /sw/
|
||||
locale = sw
|
||||
|
||||
[alternatives.tr]
|
||||
name = Türkçe (tr)
|
||||
url_prefix = /tr/
|
||||
|
@ -1,5 +1,5 @@
|
||||
content = en
|
||||
translations = es, ru, tr
|
||||
translations = de, es, fa, fr, ro, ru, sw, tr
|
||||
i18npath = i18n
|
||||
translate_paragraphwise = False
|
||||
url_prefix = https://community.torproject.org/
|
||||
|
@ -4,18 +4,48 @@ order = order-last
|
||||
url = /
|
||||
language = English (en)
|
||||
|
||||
[de]
|
||||
direction = text-left
|
||||
order = order-last
|
||||
url = /de/
|
||||
language = Deutsch (de)
|
||||
|
||||
[es]
|
||||
direction = text-left
|
||||
order = order-last
|
||||
url = /es/
|
||||
language = Español (es)
|
||||
|
||||
[fa]
|
||||
direction = text-right
|
||||
order = order-last
|
||||
url = /fa/
|
||||
language = ﻑﺍﺮﺴﯾ (fa)
|
||||
|
||||
[fr]
|
||||
direction = text-left
|
||||
order = order-last
|
||||
url = /fr/
|
||||
language = Français (fr)
|
||||
|
||||
[ro]
|
||||
direction = text-left
|
||||
order = order-last
|
||||
url = /ro/
|
||||
language = Română (ro)
|
||||
|
||||
[ru]
|
||||
direction = text-left
|
||||
order = order-last
|
||||
url = /ru/
|
||||
language = Русский (ru)
|
||||
|
||||
[sw]
|
||||
direction = text-left
|
||||
order = order-last
|
||||
url = /sw/
|
||||
language = Kiswahili (sw)
|
||||
|
||||
[tr]
|
||||
direction = text-left
|
||||
order = order-last
|
||||
|
Loading…
Reference in New Issue
Block a user