[Scummvm-devel] Fully localisation of the GUI
Ben Castricum
scummvm at bencastricum.nl
Wed Nov 12 09:51:02 CET 2014
After translating the scummvm.pot the interface still feels English.
Mostly because the games and description are English. I've been toying
around with some ideas on how to fix that. Basicly there are 2 things
are still untranslated:
- The language names
That one is not so complex, a made pull request for it
https://github.com/scummvm/scummvm/pull/531
- The game titles
The goal here is to have an interface which localises game titles for
localised game variants to the language the GUI. So if I put the GUI in
dutch, my dutch HES games are shown with their dutch titles. In all
other cases, no translation should be done. I've got the code ready, but
I am struggeling with the actual place to put the translated titles.
The easiest approach is marking the titles with _s() in the
detection_tables and then translate the titles runtime, same as all
other text. But I think this is a pretty dirty way. Since this way all
translators are asked to translate the titles into their language even
if no localised version exists. Another approach is making sub-pot files
(per engine?) and only put the game titles in it which are known to be
translated. e.g. engines/scumm/po/nl_NL.po. But this creates new
challenges when creating the translations.dat file since we need some
merging code somewhere in the process.
My question is if any of you have a suggestion on how to tackle this task?
TIA,
Ben
More information about the Scummvm-devel
mailing list