From 1b15cefa5c5342129bec9b794946f3fb2641077d Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Mon, 17 Mar 2014 12:19:45 +0100 Subject: [PATCH] Generate Translations list from YAML --- docs/_data/translations.yml | 34 +++++++++++++++++++ .../getting-started/translations.html | 10 ++---- 2 files changed, 37 insertions(+), 7 deletions(-) create mode 100644 docs/_data/translations.yml diff --git a/docs/_data/translations.yml b/docs/_data/translations.yml new file mode 100644 index 0000000000..8df66c5f72 --- /dev/null +++ b/docs/_data/translations.yml @@ -0,0 +1,34 @@ +- name: Chinese + code: zh + description: Bootstrap 中文文档 + url: http://v3.bootcss.com/ + +- name: French + code: fr + description: Bootstrap en Français + url: http://www.oneskyapp.com/docs/bootstrap/fr + +- name: German + code: de + description: Bootstrap auf Deutsch + url: http://holdirbootstrap.de/ + +- name: Korean + code: ko + description: Bootstrap 한국어 + url: http://bootstrapk.com/BS3/ + +- name: Russian + code: ru + description: Bootstrap по-русски + url: http://www.oneskyapp.com/docs/bootstrap/ru + +- name: Spanish + code: es + description: Bootstrap en Español + url: http://www.oneskyapp.com/docs/bootstrap/es + +- name: Ukrainian + code: uk + description: Bootstrap ua Українською + url: http://twbs.site-konstruktor.com.ua diff --git a/docs/_includes/getting-started/translations.html b/docs/_includes/getting-started/translations.html index dc46f5d903..215f790de2 100644 --- a/docs/_includes/getting-started/translations.html +++ b/docs/_includes/getting-started/translations.html @@ -3,13 +3,9 @@

Community members have translated Bootstrap's documentation into various languages. None are officially supported and they may not always be up to date.

We don't help organize or host translations, we just link to them.

Finished a new or better translation? Open a pull request to add it to our list.