Skip to content

epilogue-co/playback-i18n

Folders and files

NameName
Last commit message
Last commit date
Feb 20, 2024
Feb 20, 2024
Oct 29, 2024
Oct 29, 2024
Oct 15, 2024
Oct 15, 2024
Oct 15, 2024
Nov 5, 2024
Oct 15, 2024
Oct 15, 2024
Oct 15, 2024
Oct 24, 2024

Repository files navigation

playback-i18n

Translation status

Language Type Complete Missing Strings
๐Ÿ‡ฉ๐Ÿ‡ช German Human โœ… 0
๐Ÿ‡จ๐Ÿ‡ณ Simplified Chinese Human โœ… 0
๐Ÿ‡ซ๐Ÿ‡ท French DeepL โœ… 0
๐Ÿ‡ช๐Ÿ‡ธ Spanish Human โœ… 0
๐Ÿ‡ฎ๐Ÿ‡น Italian DeepL โœ… 0
๐Ÿ‡ฏ๐Ÿ‡ต Japanese Human โœ… 0
๐Ÿ‡ฐ๐Ÿ‡ท Korean Human โœ… 0
๐Ÿ‡ณ๐Ÿ‡ฑ Dutch DeepL โœ… 0
๐Ÿ‡ท๐Ÿ‡ด Romanian Human โœ… 0

Translation files (i18n)

All translation modifications need to be created on a separate branch by running the following commands:

    git checkout -b i18n/update-ja-translation

You will need to change the name of the branch accordingly. Once your work is done you need to run git push and create a PR out of the changes.

Note

Please pay attention to possible references from one translation to another.

๐Ÿ–ผ๏ธ Updating translation files with a GUI

Download and install QtLinguist, use it to edit the translation files.

You can download it from here for Windows. For other OSes you'll need to download Qt6 via a package manager or the online installer Qt provides.

๐Ÿ“ Updating translation files with a code editor

Tip

Use XML Syntax highlighting for a great visual feedback.

In order to translate an unfinished entry:

<message>
    <location filename="../src/CartDetailsWidget.cpp" line="27"/>
    <source>Unofficial cartridge</source>
    <translation type="unfinished"></translation>
</message>

You need to update the translation XML property by removing the unfinished value:

<message>
    <location filename="../src/CartDetailsWidget.cpp" line="27" />
    <source>Unofficial cartridge</source>
    <translation>้žๅ…ฌๅผใ‚ซใƒผใƒˆใƒชใƒƒใ‚ธ</translation>
</message>

If you're correcting a translation, you can simply update the contents inside the translation XML tag.

โš™๏ธ Optional compilation

Once you're done updating all entries you need to recompile the translation file and generate a qm file by running the command:

    lrelease i18n/main_ja.ts i18n/main_ja.qm