add information how to find missing translations

lektura
max.mehl 2018-06-11 09:48:33 +02:00
parent d0af025177
commit 29fd96de60
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
1 changed files with 16 additions and 1 deletions

View File

@ -114,7 +114,10 @@ website.
### config.toml
To activate your new language, please add it to [config.toml](https://git.fsfe.org/pmpc/website/src/branch/master/site/config.toml). Please do not change any existing content here. Your entry could look like this:
To activate your new language, please add it to
[config.toml](https://git.fsfe.org/pmpc/website/src/branch/master/site/config.toml).
Please do not change any existing content here. Your entry could look
like this:
```
[Languages.sv]
@ -145,3 +148,15 @@ build README section:
If you are unsure, you can also send the translations to [FSFE's translators
list](https://lists.fsfe.org/mailman/listinfo/translators) to let them
proofread by other speakers of your language.
## How to show missing translations?
If a string in your language isn't translated, the default English
version will be used. To find out which parts are missing, you need
`hugo` installed on your computer.
Please navigate to the `site/` subdirectory and execute `hugo
--i18n-warnings | grep i18n`. This shows a list of all missing
translations of all languages. Please look out for your language code
in the third column. The fourth column shows the name of the string
which is missing in your i18n file.