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
999sian ad756cd6bd
settings: add a dark/light theme toggle (#1132)
* settings: add dark/light theme toggle

* i18n: translate theme selector strings

* settings: align Resolution and Theme dropdowns in a GridBox
2026-06-30 09:17:12 +00:00
..
de/LC_MESSAGES settings: add a dark/light theme toggle (#1132) 2026-06-30 09:17:12 +00:00
es/LC_MESSAGES settings: add a dark/light theme toggle (#1132) 2026-06-30 09:17:12 +00:00
fr/LC_MESSAGES settings: add a dark/light theme toggle (#1132) 2026-06-30 09:17:12 +00:00
ja/LC_MESSAGES settings: add a dark/light theme toggle (#1132) 2026-06-30 09:17:12 +00:00
nl/LC_MESSAGES settings: add a dark/light theme toggle (#1132) 2026-06-30 09:17:12 +00:00
pt_BR/LC_MESSAGES settings: add a dark/light theme toggle (#1132) 2026-06-30 09:17:12 +00:00
ru/LC_MESSAGES settings: add a dark/light theme toggle (#1132) 2026-06-30 09:17:12 +00:00
gopher64.pot settings: add a dark/light theme toggle (#1132) 2026-06-30 09:17:12 +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.