From 389a69a6e71228b536af28776156fda30d22e217 Mon Sep 17 00:00:00 2001 From: Hanzei Date: Wed, 27 Jun 2018 02:10:46 +0200 Subject: Add Multilingual support --- i18n/en.toml | 27 +++++++++++++++++++++++++++ i18n/es.toml | 25 +++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 i18n/en.toml create mode 100644 i18n/es.toml (limited to 'i18n') diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..b1940ef --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,27 @@ +[404_title] + other = "404" +[404_description] + other = "Oops! Either you've found a bug (in which case, [please tell me](mailto:{{ .Site.Params.email }})) or you're just making things up. This page doesn't exist!" +[index_avatarAlt] + other = "My profile picture" +[index_projects_allProjects] + other = "All Projects" +[index_blog_latestPosts] + other = "Latest Post" +[index_blog_allPosts] + other = "All Posts" +[index_blog_readMore] + other = "Read more" +[index_currentTime] + other = "My current local time is" +[nav_backToSection] + other = "Back to {{ .Title }}" +[nav_main] + other = "main" +[blog_readingTime] + one = "{{ .Count }} minute read" + other = "{{ .Count }} minutes read" +[blog_shareThis] + other = "Share this" +[footer_text] + other = "[Introduction](https://github.com/vickylai/hugo-theme-introduction/) theme for [Hugo](http://gohugo.io/). Made with [ and ](https://vickylai.com) by open source contributors." diff --git a/i18n/es.toml b/i18n/es.toml new file mode 100644 index 0000000..38106f5 --- /dev/null +++ b/i18n/es.toml @@ -0,0 +1,25 @@ +[404_title] + other = "404" +[404_description] + other = "Oops! O bien encontraste un bug (en cuyo caso, [por favor avisame](mailto:{{ .Site.Params.email }})) o simplemente estas inventando cosas. Esta página no existe!" +[index_avatarAlt] + other = "Mi foto de perfil" +[index_blog_latestPosts] + other = "Últimas Entradas" +[index_blog_allPosts] + other = "Todas las Entradas" +[index_blog_readMore] + other = "Leer más" +[index_currentTime] + other = "Mi hora local actual es" +[nav_backToSection] + other = "Volver a {{ .Title }}" +[nav_main] + other = "Principal" +[blog_readingTime] + one = "{{ .Count }} minuto de lectura" + other = "{{ .Count }} minutos de lectura" +[blog_shareThis] + other = "Comparte esto" +[footer_text] + other = "Tema [Introduction](https://github.com/vickylai/hugo-theme-introduction/) para [Hugo](http://gohugo.io/). Made with [ and ](https://vickylai.com) by open source contributors." -- cgit v1.2.3