Permalink
Browse files

Add catalan and spanish locales (#62)

  • Loading branch information...
ryanfox1985 authored and adrianmo committed Mar 15, 2017
1 parent bed08fa commit fbaa3e646f863b3536a558437d1fa5247f2fd86c
Showing with 136 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +8 −0 README.md
  3. +1 −1 exampleSite/config.toml
  4. +62 −0 i18n/ca.yaml
  5. +2 −2 i18n/en.yaml
  6. +62 −0 i18n/es.yaml
View
@@ -1,3 +1,4 @@
.DS_Store
public/
npm-debug.log
/node_modules/*
View
@@ -69,6 +69,14 @@ After installing the Universal theme successfully, we recommend you to take a lo
First, let's take a look at the [config.toml](//github.com/devcows/hugo-universal-theme/tree/master/exampleSite/config.toml). It will be useful to learn how to customize your site. Feel free to play around with the settings.
### Language
Available translations are in the `/i18n` directory. You can configure the language modifying the following key.
```toml
defaultContentLanguage = "en"
```
### Style
You can change the color of the theme by modifying the following key.
View
@@ -2,7 +2,7 @@ baseurl = "https://example.org"
title = "Universal"
theme = "hugo-universal-theme"
languageCode = "en-us"
# Site language. Available translations: en, de
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "en"
# Enable comments by entering your Disqus shortname
disqusShortname = "devcows"
View
@@ -0,0 +1,62 @@
- id: home
translation: "Inici"
- id: templateBy
translation: "Plantilla creada per"
- id: portedBy
translation: "Adaptada a Hugo per"
- id: contactGoTo
translation: "Anar a la pàgina de contacte"
- id: contactAddrTitle
translation: "Adreça"
- id: contactTitle
translation: "Contacte"
- id: contactForm
translation: "Formulari de contacte"
- id: contactName
translation: "El teu nom"
- id: contactMail
translation: "El teu email"
- id: contactMessage
translation: "El teu missatge"
- id: contactSend
translation: "Enviar missatge"
- id: navHome
translation: "anar a inici"
- id: navToggle
translation: "Canviar Navigació"
- id: categoriesTitle
translation: "Categories"
- id: searchTitle
translation: "Buscar"
- id: tagsTitle
translation: "Paraules clau"
- id: continueReading
translation: "Continuar llegint"
- id: readMore
translation: "Llegir més"
- id: authorBy
translation: "Per"
- id: recentPosts
translation: "Posts recents"
- id: aboutUs
translation: "Sobre nosaltres"
View
@@ -23,15 +23,15 @@
translation: "Your Name"
- id: contactMail
translation: " Your Email"
translation: "Your Email"
- id: contactMessage
translation: "Your Message"
- id: contactSend
translation: "Send Message"
- id: navHome
- id: navHome
translation: "go to homepage"
- id: navToggle
View
@@ -0,0 +1,62 @@
- id: home
translation: "Inicio"
- id: templateBy
translation: "Plantilla creada por"
- id: portedBy
translation: "Adaptada a Hugo por"
- id: contactGoTo
translation: "Ir a la página de contacto"
- id: contactAddrTitle
translation: "Dirección"
- id: contactTitle
translation: "Contacto"
- id: contactForm
translation: "Formulario de contacto"
- id: contactName
translation: "Tu Nombre"
- id: contactMail
translation: "Tu Email"
- id: contactMessage
translation: "Tu Mensaje"
- id: contactSend
translation: "Enviar mensaje"
- id: navHome
translation: "ir a inicio"
- id: navToggle
translation: "Cambiar Navegación"
- id: categoriesTitle
translation: "Categorias"
- id: searchTitle
translation: "Buscar"
- id: tagsTitle
translation: "Palabras clave"
- id: continueReading
translation: "Continuar leyendo"
- id: readMore
translation: "Leer más"
- id: authorBy
translation: "Por"
- id: recentPosts
translation: "Posts recientes"
- id: aboutUs
translation: "Sobre nosotros"

0 comments on commit fbaa3e6

Please sign in to comment.