Hi,
I have noticed that user preferences defined in the gameoptions.inc.php does not get translated on the prod, even if a translation was proposed by the community. I notice that as well in games which are already officially released (example: Dice Forge).
The code I use in my game:
Do you know any workaround?
I reported this problem in the bug management system of BGA, because I think it's a problem in the mainsite, but maybe am I missing something?
https://fr.boardgamearena.com/#!bug?id=10306
Thanks!
Tcheby
I have noticed that user preferences defined in the gameoptions.inc.php does not get translated on the prod, even if a translation was proposed by the community. I notice that as well in games which are already officially released (example: Dice Forge).
The code I use in my game:
Code: Select all
$game_preferences = array(
100 => array(
'name' => totranslate('Card style'),
'needReload' => false,
'values' => array(
1 => array('name' => totranslate('Classic deck')),
2 => array('name' => totranslate('Optimised for web')),
3 => array('name' => totranslate('French deck: Grimaud')),
4 => array('name' => totranslate('German deck: Turkish costumes')),
5 => array('name' => totranslate('Belgian deck: Animals')),
6 => array('name' => totranslate('French deck: Printmaking'))
)
),
101 => array(
'name' => totranslate('Turn order'),
'needReload' => false,
'values' => array(
1 => array('name' => totranslate('Counterclockwise')),
2 => array('name' => totranslate('Clockwise'))
)
),
);
I reported this problem in the bug management system of BGA, because I think it's a problem in the mainsite, but maybe am I missing something?
https://fr.boardgamearena.com/#!bug?id=10306
Thanks!
Tcheby