1.7 KiB
1.7 KiB
Translations
Two translation files for each language are needed, ssr-[locale].po
and [locale].pb
(i.e. ssr-de.po
and de.po
).
Translation files can be created out of the templates template.pot and template-ssr.pot. They are standard GNU gettext files and can be edited in any ordinary texteditor or po-Editor.
All translated languages get an own chat channel that just people who use this language can access.
If a language code differs from the country code of a wanted flag, it can be defined in the ssr filename, like ssr-en-gb.po
would be the english language, with the flag of Great Britain.
With poedit
Create new translation
- Download poedit here and template.pot
- Open it and Create new Translation and open the
template.pot
- Select the language you want to translate into
- Translate all the entries
- Save the translation as
[locale].po
(i.e.es.po
for spanish) - Do the same again, but with template-ssr.pot and save it as
ssr-[locale].po
- Send us the two files on discord or make a pull request
Update old translation if change is needed
- Open the .po file with poedit
- Click on Catalogue -> Update from POT file
- Select the corresponding template.pot file and the translations will update and new entries appear if needed