Add jekyll-simple-i18n plugin with example

Adds in support for https://github.com/signalapp/jekyll-simple-i18n.

The plugin did not work with the github-pages gem, so github-pages was
switched with jekyll (which is what the current i18n branch does anyway).
This commit is contained in:
djoate
2019-11-18 00:09:19 +00:00
committed by GitHub
parent bef6d7c574
commit c36002d851
12 changed files with 256 additions and 192 deletions

47
_data/language_map.yml Normal file
View File

@ -0,0 +1,47 @@
---
af: "Afrikaans"
az: "Azərbaycanca"
bg: "Български"
ca: "Català"
cs: "Česky"
da: "Dansk"
de: "Deutsch"
el: "Ελληνικά"
en: "English"
es: "Español"
et: "esti"
fa: "فارسی"
fi: "suomi"
fil: "Pilipino"
fr: "Français"
ga: "Gaeilge"
hr: "Hrvatski"
hu: "Magyar"
id: "Bahasa Indonesia"
it: "Italiano"
ja: "日本語"
kk: "Қазақ"
ko: "한국어"
lt: "Lietuviškai"
lv: "Latviešu"
mk: "Македонски"
ms: "Bahasa Melayu"
nb: "Norsk"
nl: "Nederlands"
pl: "Polski"
pt_BR: "Português (br)"
pt_PT: "Português (pt)"
ro: "Română"
ru: "Pусский"
sk: "Slovenčina"
sl: "Slovenščina"
sr: "српски"
sv: "svensk"
sw: "Kiswahili"
th: "ภาษาไทย"
tr: "Türkçe"
uk: "Українська"
uz: "O'zbekcha"
vi: "Tiếng Việt"
zh_CN: "简体中文"
zh_TW: "繁體中文"

13
_data/languages/en.yml Normal file
View File

@ -0,0 +1,13 @@
---
sponsors: |
Sponsors
new: |
New!
showcase_your_brand_as_a_sponsor_of_privacytools_here_and_support_our_mission_of_creating_a_world_fre: |
Showcase your brand as a sponsor of PrivacyTools here and support our mission of creating a world free of mass surveillance!
learn_more: |
Learn more...

13
_data/languages/es.yml Normal file
View File

@ -0,0 +1,13 @@
---
sponsors: |
Patrocinadores
new: |
Nuevo!
showcase_your_brand_as_a_sponsor_of_privacytools_here_and_support_our_mission_of_creating_a_world_fre: |
Presente su marca como patrocinador de PrivacyTools aquí y apoye nuestra misión de crear un mundo libre de vigilancia masiva!
learn_more: |
Conozca más...