b88a105a7c
Revert "i18n: Allow custom language codes"
...
This reverts commit bb04010cbfd92837685f98c3e0f5362ba00ce487.
2017-11-05 10:20:39 +01:00
bb04010cbf
i18n: Allow custom language codes
...
Use the new `RegisterPluralSpec` function to register all defined
languages. This allows the usage of language identifiers which are not
part of the Unicode CLDR standard.
Closes #3564
2017-11-04 10:48:29 +01:00
873a6f1885
Run gofmt to get imports in line vs gohugoio/hugo
2017-06-13 19:12:10 +02:00
c17ad675e8
all: Update textual references in Go source to point to gohugoio/hugo
2017-06-13 18:47:17 +02:00
d8717cd4c7
all: Update import paths to gohugoio/hugo
2017-06-13 18:42:45 +02:00
cce49997a4
i18n: Add tests
2017-05-03 09:23:13 +02:00
6b29bccfee
hugolib, i18n: Update tests with flat format and TOML files
2017-04-02 18:43:32 +02:00
93ca7c9e95
all: Refactor to nonglobal Viper, i18n etc.
...
This is a final rewrite that removes all the global state in Hugo, which also enables
the use if `t.Parallel` in tests.
Updates #2701
Fixes #3016
2017-02-17 17:15:26 +01:00