Open main menu

Difference between revisions of "HOWTO-Translate ScummVM GUI"

→‎Creating or Updating a translation file: Update source code repository link and instructions to get files
(→‎Creating or Updating a translation file: Update source code repository link and instructions to get files)
Line 6: Line 6:
Before starting a translation it would be a good idea to check [[#Existing Translations|the list of existing translations]] and to contact the team on the forum or IRC to know if other persons are already working on a translation for this language. That way if there is already a translation in the work you can avoid duplicate efforts and work together.
Before starting a translation it would be a good idea to check [[#Existing Translations|the list of existing translations]] and to contact the team on the forum or IRC to know if other persons are already working on a translation for this language. That way if there is already a translation in the work you can avoid duplicate efforts and work together.


For a new translation, use scummvm.pot (from [http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/po/ the source code repository]) as a template and fill out the header. Then you just have to translate the strings and save your work in a po file.
For a new translation, use scummvm.pot (from [https://github.com/scummvm/scummvm/tree/master/po the source code repository]) as a template and fill out the header. Then you just have to translate the strings and save your work in a po file. To download the file, click on scummvm.pot and then the ''raw'' or ''View Raw'' button. If this tries to display the file in your browser, do a right click on that button and select ''Save target file as...'' (the working might be different depending on the browser). You might also need to remove any extension added by your browser (for example for me Safari downloads the file as ''scummvm.pot.pps'', apparently believing it to be a MS Powerpoint file).
 
If a translation already exists for you language, you can get the up to date po file from [https://github.com/scummvm/scummvm/tree/master/po this same source code repository]. As for the template file, you need to click on the file you want and then use the ''raw'' or ''View Raw'' button. You may need to do a right click on the button to save the file on your computer instead of displaying it in the browser. Also some browser may add a ''.txt.. extension that you will need to remove.


Please note that:
Please note that:
TrustedUser
2,147

edits