skoki wrote: ↑30 August 2022, 12:34
Ok. Could you check this example?
You're quite a Saint Thomas, not believing anything
Don't need to check it, typical case of a dev using concatenation while it's expressly explained in the doc that they shouldn't. It's one of the most common gotchas. Still as you need proof:
Code: Select all
$log = clienttranslate('${player_name} declares ${gearInd} for his/her next turn');
$log = str_replace('gearInd','gear_'.$n,$log);
So technically the dev used substitution server side, which is exactly the same thing as a concatenation. They should use the framework notifications client side substitution for proper translation. So yes, it's a game issue.
skoki wrote: ↑30 August 2022, 12:34
If you are right that it is bug on the dev of that specific game side, then we have a lot of buggy games
Nothing surprising about that for anyone in the software industry.
Not sure what's your background, but the only way not to have bugs in software is to not write software
skoki wrote: ↑30 August 2022, 12:34
And with that, it means that this phrase will be broken for all languages?
Yep. So as I said, it should be reported on the game, there is a bug type for this kind of issue.