In order to edit this wiki, you must register and verify your account.

Tutorial:How to translate Cemu UI: Difference between revisions

From Cemu Wiki
Jump to:navigation Jump to:search
m (added category)
No edit summary
Line 2: Line 2:
*Download and install your favorite PO editing tool, e.g.[https://poedit.net/ Poedit].
*Download and install your favorite PO editing tool, e.g.[https://poedit.net/ Poedit].
*Choose the language you want to translate:
*Choose the language you want to translate:
**fetch the latest ".po" file for an existing language from [https://github.com/TeamCemu/Cemu-Language/tree/master/resources here] and open it
**fetch the latest PO file for an existing language from [https://github.com/TeamCemu/Cemu-Language/tree/master/resources here] and open it
**create a new translation and use the english [https://github.com/TeamCemu/Cemu-Language/blob/master/resources/en/cemu.pot cemu.pot file] as source
**create a new translation and use the English [https://github.com/TeamCemu/Cemu-Language/blob/master/resources/en/cemu.pot cemu.pot file] as source
*Submit your finished work by either using a git pull request, or by sending it in discord to one of the users listed below.
*Submit your finished work by either using a git pull request, or by sending it in discord to one of the users listed below.
==Testing/Using==
If you want to test your translation or use an existing translation from the repository/another user, simply create the folder with the correct language code in "cemu/resources" and insert the compiled "cemu.mo" file.
Supported language codes can be found here: [http://xml.coverpages.org/iso639a.html language codes].
You can use Poedit to compile a MO file:
# Open the PO
# Use the menu bar: File -> Compile to MO...
# Select the correct folder as destination


==Discord users==
==Discord users==
These discord users have write access to the [https://github.com/TeamCemu/Cemu-Language git repository] and can update files.
These discord users have write access to the [https://github.com/TeamCemu/Cemu-Language git repository] and can update files.
If you're not a member of our discord server yet, you can join us [https://discord.gg/5psYsup here].
If you're not a member of our discord server yet, you can join us [https://discord.gg/5psYsup here].
*Petergov#3780
*Petergov#3780


[[Category:List of tutorials|How to translate Cemu UI]]
[[Category:List of tutorials|How to translate Cemu UI]]

Revision as of 00:59, 18 June 2018

Tutorial

  • Download and install your favorite PO editing tool, e.g.Poedit.
  • Choose the language you want to translate:
    • fetch the latest PO file for an existing language from here and open it
    • create a new translation and use the English cemu.pot file as source
  • Submit your finished work by either using a git pull request, or by sending it in discord to one of the users listed below.

Testing/Using

If you want to test your translation or use an existing translation from the repository/another user, simply create the folder with the correct language code in "cemu/resources" and insert the compiled "cemu.mo" file.

Supported language codes can be found here: language codes.

You can use Poedit to compile a MO file:

  1. Open the PO
  2. Use the menu bar: File -> Compile to MO...
  3. Select the correct folder as destination

Discord users

These discord users have write access to the git repository and can update files. If you're not a member of our discord server yet, you can join us here.

  • Petergov#3780