diff --git a/_config.yml b/_config.yml index 7eca1aa17e..bc393081be 100644 --- a/_config.yml +++ b/_config.yml @@ -84,3 +84,105 @@ top_projects: applications. It is a Ruby library that works with Internet Explorer and Firefox. + +# Localization + +credits: + en: This website was generated with Ruby using Jekyll. + It is proudly maintained by members of the Ruby community. + Please contact our webmaster + for questions or comments concerning this website. + de: Diese Webseite wurde mit Ruby unter Verwendung von Jekyll erstellt. + Sie wird mit Stolz von Mitgliedern der Ruby-Community gepflegt. + Bei Fragen oder Kommentaren, die diese Seite betreffen, kontaktieren Sie bitte + unseren Webmaster (in Englisch). + es: Este sitio web está desarrollado con Ruby y Jekyll. + Es orgullosamente mantenido por miembros de la comunidad Ruby. + Por favor contacta a nuestro webmaster + si tienes preguntas o comentarios al respecto del sitio web. + fr: Ce site est propulsé par Ruby et Jekyll. + Il est fièrement maintenu par des membres de la communauté Ruby. + Veuillez contacter notre webmaster + pour toute question ou tout commentaire le concernant. + it: Questo sito è stato sviluppato con Ruby e Jekyll. + È curato con dedizione dai membri della comunità di Ruby. + Puoi contattare il nostro webmaster + per domande e commenti riguardanti questo sito. + +nav: + en: + - name: Downloads + url: downloads + - name: Documentation + url: documentation + - name: Libraries + url: libraries + - name: Community + url: community + - name: News + url: news + - name: Security + url: security + - name: About Ruby + url: about + de: + - name: Downloads + url: downloads + - name: Dokumentation + url: documentation + - name: Bibliotheken + url: libraries + - name: Community + url: community + - name: Neuigkeiten + url: news + # - name: Sicherheit + # url: security + - name: Über Ruby + url: about + es: + - name: Descargas + url: downloads + - name: Documentación + url: documentation + - name: Bibliotecas + url: libraries + - name: Comunidad + url: community + - name: Noticias + url: news + # - name: Seguridad + # url: security + - name: Acerca de Ruby + url: about + fr: + - name: Téléchargements + url: downloads + - name: Documentation + url: documentation + - name: Bibliothèques + url: libraries + - name: Communauté + url: community + - name: Actualités + url: news + - name: Sécurité + url: security + - name: À propos de Ruby + url: about + it: + - name: Scarica + url: downloads + - name: Documentazione + url: documentation + - name: Librerie + url: libraries + - name: Comunità + url: community + - name: Notizie + url: news + - name: Sicurezza + url: security + - name: A proposito di Ruby + url: about + diff --git a/_includes/footer.html b/_includes/footer.html index d570e4c953..41b82eeed3 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,5 +1,7 @@ -
Content available in English, French, Japanese, Korean, Polish, Spanish, Portuguese, Simplified Chinese, Traditional Chinese, Bahasa Indonesia, German, Italian, Czech, Bulgarian and Turkish.
-This website is was generated by Jekyll. -It is proudly maintained by members of the Ruby community. Please contact -our webmaster for questions or comments -concerning this website.
+Content available in English, French, Japanese, Korean, Polish, Spanish, Portuguese, Simplified Chinese, Traditional Chinese, Bahasa Indonesia, German, Italian, Czech, Bulgarian and Turkish.
+ +{% if site.credits[page.lang] %} +{{ site.credits[page.lang] }}
+{% else %} +{{ site.credits['en'] }}
+{% endif %} diff --git a/_includes/sitelinks.html b/_includes/sitelinks.html index a4c75eb880..e20ac5a9c0 100644 --- a/_includes/sitelinks.html +++ b/_includes/sitelinks.html @@ -1 +1,8 @@ -Downloads | Documentation | Libraries | Community | News | Security | About Ruby +{% if site.nav[page.lang] %} + {% assign navlang = page.lang %} +{% else %} + {% assign navlang = 'en' %} +{% endif %} +{% for link in site.nav[navlang] %} + {{ link.name }}{% unless forloop.last %} | {% endunless %} +{% endfor %}