.. | ||
images | ||
az.po | ||
be.po | ||
bg.po | ||
ca.po | ||
csb.po | ||
cz.po | ||
da.po | ||
de.po | ||
dz.po | ||
eo.po | ||
es.po | ||
fa.po | ||
fr.po | ||
gr.po | ||
hr.po | ||
hu.po | ||
hy.po | ||
it.po | ||
ka.po | ||
kk.po | ||
lccc.json | ||
nl.po | ||
os.po | ||
pt.po | ||
README.md | ||
ro.po | ||
ru.po | ||
sc.po | ||
sl.po | ||
sr.po | ||
ssr-az.po | ||
ssr-be.po | ||
ssr-bg.po | ||
ssr-ca.po | ||
ssr-csb.po | ||
ssr-cz.po | ||
ssr-da.po | ||
ssr-de.po | ||
ssr-eo.po | ||
ssr-es.po | ||
ssr-fa.po | ||
ssr-fr.po | ||
ssr-gr.po | ||
ssr-hr.po | ||
ssr-hu.po | ||
ssr-hy.po | ||
ssr-it.po | ||
ssr-ka.po | ||
ssr-kk.po | ||
ssr-nl.po | ||
ssr-os.po | ||
ssr-pt.po | ||
ssr-ro.po | ||
ssr-ru.po | ||
ssr-sc.po | ||
ssr-sl.po | ||
ssr-sr.po | ||
ssr-to.po | ||
ssr-tr.po | ||
template-ssr.pot | ||
template.pot | ||
to.po | ||
tr.po |
Translations
The easiets way to help translate the game is with weblate. Simply use hosted.weblate.org/projects/pixelplanet. Feel free to ask in the Translation section in our Discord if you need help.
If a language code differs from the country code of a wanted flag, it can be defined in the i18n/lccc.json
file. In example { "en": "gb" }
maps the english language to the flag of Great Britain.
Translating Offline
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.
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
Translations are Licensed under the terms of the AGPLv3 license.