diff --git a/assets/.htaccess b/assets/.htaccess index 49afcd38..d85e4b56 100644 --- a/assets/.htaccess +++ b/assets/.htaccess @@ -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|fa|ja|ms|nb-NO|nl|pl|sv-SE|vi)$ / [R=302,L] -RewriteRule ^(cs|da|fa|ja|ms|nb-NO|nl|pl|sv-SE|vi)/(.*) /$2 [R=302,L] +RewriteRule ^(cs|da|ja|ms|nb-NO|nl|pl|sv-SE|vi)$ / [R=302,L] +RewriteRule ^(cs|da|ja|ms|nb-NO|nl|pl|sv-SE|vi)/(.*) /$2 [R=302,L] # we have only one translation for this locales RewriteRule ^bn-(BD|IN)$ /bn [R=302,L] diff --git a/configs/i18n.ini b/configs/i18n.ini index cc605ca5..6957c834 100644 --- a/configs/i18n.ini +++ b/configs/i18n.ini @@ -1,5 +1,5 @@ content = en -translations = ar,bn,ca,de,el,es,fr,ga,he,hu,id,is,it,ka,km,ko,lt,mk,my,pt-BR,pt-PT,ro,ru,th,tr,zh-CN,zh-TW +translations = ar,bn,ca,de,el,es,fa,fr,ga,he,hu,id,is,it,ka,km,ko,lt,mk,my,pt-BR,pt-PT,ro,ru,sq,th,tr,uk,zh-CN,zh-TW i18npath = i18n url_prefix = https://tb-manual.torproject.org/ translate_paragraphwise = False diff --git a/databags/alternatives.ini b/databags/alternatives.ini index 36ca9a6c..d95d7a60 100644 --- a/databags/alternatives.ini +++ b/databags/alternatives.ini @@ -40,6 +40,12 @@ 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 @@ -142,6 +148,12 @@ order = order-last url = /ru/ language = Русский (ru) +[sq] +direction = text-left +order = order-last +url = /sq/ +language = Shqip (sq) + [th] direction = text-left order = order-last @@ -154,6 +166,12 @@ order = order-last url = /tr/ language = Türkçe (tr) +[uk] +direction = text-left +order = order-last +url = /uk/ +language = українська (uk) + [zh-CN] direction = text-left order = order-last diff --git a/manual.lektorproject b/manual.lektorproject index a67062ff..b46f8d73 100644 --- a/manual.lektorproject +++ b/manual.lektorproject @@ -40,6 +40,11 @@ name = Español (es) url_prefix = /es/ locale = es +[alternatives.fa] +name = فارسی (fa) +url_prefix = /fa/ +locale = fa + [alternatives.fr] name = Français (fr) url_prefix = /fr/ @@ -125,6 +130,11 @@ name = Русский (ru) url_prefix = /ru/ locale = ru +[alternatives.sq] +name = Shqip (sq) +url_prefix = /sq/ +locale = sq + [alternatives.th] name = ภาษาไทย (th) url_prefix = /th/ @@ -135,6 +145,11 @@ name = Türkçe (tr) url_prefix = /tr/ locale = tr +[alternatives.uk] +name = українська (uk) +url_prefix = /uk/ +locale = uk + [alternatives.zh-CN] name = 简体中文 (zh-CN) url_prefix = /zh-CN/