Skip to content

Commit

Permalink
Added spanish support for flag and translation
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-rodriguezperez committed Apr 22, 2019
1 parent 7596045 commit e161665
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/langFlags.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
de: de
en: gb
fr: fr
nl: nl
nl: nl
es: es
36 changes: 36 additions & 0 deletions i18n/es.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translations for Spanish
# https://gohugo.io/content-management/multilingual/#translation-of-strings

# Generic
#
[translations]
other = "Traducciones"

[postAvailable]
other = "También disponible en"


# 404.html
#
[archives]
other = "Archivo"

[home]
other = "Home"

[notFound]
other = "Oops, página no encontrada…"


# posts/single.html
#
[readingTime]
one = "Un minuto"
other = "{{ .Count }} minutos"

[tableOfContents]
other = "Tabla de Contenido"

[wordCount]
one = "Una Palabra"
other = "{{ .Count }} Palabras"

0 comments on commit e161665

Please sign in to comment.