Problems translating in multiplayer
Moderator: Forum Moderators
Problems translating in multiplayer
I have created a gettext file with macros of translatable mainline strings for my campaign. It looks work well for simple usage (I havent checked all strings in MP), but the problem is when game is saved and loaded, translation becomes to host language for all players and observers (this is a problem in a MP campaign).
Maybe there is a solution for this, because some strings didnt look affected for this bug (perhaps using insert_tag, or "|" after variables is related... not really clue)
Any hint?
Edit: An easy way to reproduce bug:
this is translated correctly to different languages, but doing a save/reload will show for all people "Difficulty" translated to host language
Maybe there is a solution for this, because some strings didnt look affected for this bug (perhaps using insert_tag, or "|" after variables is related... not really clue)
Any hint?
Edit: An easy way to reproduce bug:
Code: Select all
#################################
#textdomain wesnoth-help
#################################
#define DIFFICULTY
_ "Difficulty: " #enddef
Code: Select all
[objectives]
.
.
[note]
description={DIFFICULTY}+$difficulty_name
[/note]
[/objectives]
Be aware English is not my first language and I could have explained bad myself using wrong or just invented words.
World Conquest II
World Conquest II