... | ... | @@ -2,8 +2,6 @@ Simply use the included gettext template `src/locales/rabenwetter.pot` with your |
|
|
|
|
|
Alternatively, you can copy and rename `src/locales/en/messages.po` to match your iso 639-1 language code. e.g: `src/locales/fr/messages.po`, then edit and translate its contents.
|
|
|
|
|
|
There's also the humongous forecast file at `src/locales/en/archive/current.json.tmpl`, you may want to translate. Even if you don't want to, you'll have to copy the english version to one matching your countrycode. e.g: `src/locales/fr/current.json.tmpl` or the build process will fail.
|
|
|
|
|
|
The first time, you're adding a new translation, you'll also have to update Gruntfile.js to build the new distribution files:
|
|
|
|
|
|
1. [line 385](https://gitlab.ambhost.net/stimpy/template_rabenwetter/blob/master/Gruntfile.js#L385):
|
... | ... | |