Update translation hint in README

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-07-14 17:53:09 +02:00
parent c5fcd8586f
commit 1b736f7b59
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 7 additions and 5 deletions

View file

@ -30,6 +30,8 @@ For a better setup you can choose the backend which is used to store the secrets
## Localize to your own language ## Localize to your own language
If you want to help translating the application to your own language please download the [`en-us.all.json`](https://github.com/Luzifer/ots/blob/master/frontend/locale/en-us.all.json) file from this repository and translate the `others` strings inside. Afterwards please [open an issue](https://github.com/Luzifer/ots/issues/new) and attach your translation including the information which language you translated the strings into. Of course you also could open a pull-request to add the new file to the `frontend/locale` folder. If you want to help translating the application to your own language please download the [`en.json`](https://github.com/Luzifer/ots/blob/master/src/langs/en.json) file from this repository and translate the strings inside. Afterwards please [open an issue](https://github.com/Luzifer/ots/issues/new) and attach your translation including the information which language you translated the strings into.
Of course you also could open a pull-request to add the new file to the `src/langs` folder. In this case please also edit the `langs.js` file and add your translation.
Same goes with when you're finding translation errors: Just open an issue and let me know! Same goes with when you're finding translation errors: Just open an issue and let me know!

View file

@ -1,7 +1,7 @@
import lang_de from './de.json' import de from './de.json'
import lang_en from './en.json' import en from './en.json'
export default { export default {
de: lang_de, de,
en:lang_en, en,
} }