divan/wgames — Issue #2: translation of genere
Author: karoltom
Created: 2011-10-19 14:44:06+00:00
State: open

could you make a possibility to add localised genere to the INI file.

you have to implement option that will recognize, eg. Genere_pl_PL in *.ini files. There is function that recognizes "Description_pl_PL", so why there is nothing to be able to do localisation of Genere.

gameinfo.cpp

_genre = settings.value("Info/Genre", "WebOS Game").toString();

should be sth like:

_genere = settings.value(
settings.contains("Info/Genere_" + localeName) ?
"Info/Genere_" + localeName :
"Info/Genere",
"WebOS Game").toString();

am i right?