This repository has been archived on 2026-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
gopher64-netplay/data/translations
2026-05-12 10:22:44 +00:00
..
de/LC_MESSAGES German translation updates (#874) 2026-05-12 05:46:04 +00:00
es/LC_MESSAGES es changes (#870) 2026-05-11 05:35:22 +00:00
fr/LC_MESSAGES Add more starter translations (#872) 2026-05-11 11:41:45 +00:00
ja/LC_MESSAGES Add more starter translations (#872) 2026-05-11 11:41:45 +00:00
nl/LC_MESSAGES Add more starter translations (#872) 2026-05-11 11:41:45 +00:00
pt_BR/LC_MESSAGES Add Brazilian Portuguese translation (#875) 2026-05-12 06:48:33 +00:00
ru/LC_MESSAGES Add Russian translation (#878) 2026-05-12 10:22:44 +00:00
gopher64.pot remove some spaces from translation strings (#868) 2026-05-10 18:44:18 +00:00
README.md Update translation readme (#871) 2026-05-11 10:26:40 +00:00

Adding translations to Gopher64

  1. Copy and modify the gopher64.pot file in this directory with your translations.
  2. Rename it to gopher64.po and put it here: data/translations/<lang>/LC_MESSAGES/gopher64.po

See here for more details on creating a .po file. I recommend using a program like poedit to create the .po file from the template.


For example, in the .pot file you will see:

#: src/ui/gui/about_page.slint:17
msgctxt "NewVersionButton"
msgid "New version available! Click here to download"
msgstr ""

A translation will look something like this:

#: src/ui/gui/about_page.slint:17
msgctxt "NewVersionButton"
msgid "New version available! Click here to download"
msgstr "Nova versão disponível! Clique aqui para baixar"

The only line you modify is the msgstr. The msgctxt and msgid need to remain unchanged.