Follow-up Comment #6, bug #8807 (project wesnoth):
I was trying to use Dutch, but I've also tested German, French and Japanese.
Same result. As a side remark, I think some kind of subtle advisory should be
printed in the case of untranslated text. On the one hand, you'll notice if
most strings are translated but one is in English, but on the other hand if
the entire main menu isn't translated then it would be the only way to really
know that the program is listening to your language preference.
=====[stderr.txt]=====
Battle for Wesnoth v1.10.1
Started on Tue Feb 28 16:17:17 2012
Automatically found a possible data directory at C:/Program Files/Battle for
Wesnoth 1.10.1
Data directory: C:/Program Files/Battle for Wesnoth 1.10.1
User configuration directory: D:/Mijn documenten/My Games/Wesnoth1.10
User data directory: D:/Mijn documenten/My Games/Wesnoth1.10
Cache directory: D:/Mijn documenten/My Games/Wesnoth1.10/cache
Checking video mode: 1024x768x32...
setting mode to 1024x768x32
=====[EOF]=====
That I'm the only person reporting the problem doesn't mean I'm the only one
experiencing it; not everyone reports problems. My setup is fairly typical so
it'd be weird if I were the only one seeing this.
Now, since the program remembers the setting (as closing and restarting it
proves) and I installed from the official Windows setup file so the
translations are present, the trouble must be somewhere on the program side of
things.
I've also tried to log the calls into intl.dll. Here are the first few:
============
libintl_setlocale(0, "English") //Note: selected language was Deutsch at the
time, but it calls setlocale with "English".
libintl_bindtextdomain("wesnoth", "C:/Program Files/Battle for Wesnoth
1.10.1/translations")
libintl_bind_textdomain_codeset("wesnoth", "UTF-8")
libintl_bindtextdomain("wesnoth-lib", "C:/Program Files/Battle for Wesnoth
1.10.1/translations")
libintl_bind_textdomain_codeset("wesnoth-lib", "UTF-8")
libintl_textdomain("wesnoth")
libintl_bind_textdomain_codeset("wesnoth", "UTF-8") //Redundant call?
libintl_dgettext("wesnoth",
"DejaVuSans.ttf,Andagii.ttf,DroidSansJapanese.ttf,DroidSansFallbackFull.ttf,Junicode-Regular.ttf")
libintl_gettext("The Battle for Wesnoth")
libintl_bind_textdomain_codeset("wesnoth-lib", "UTF-8") //Redundant call?
libintl_dgettext("wesnoth-lib", "language code for localized
resources^en_US")
libintl_bind_textdomain_codeset("wesnoth-lib", "UTF-8") //Redundant call?
libintl_dgettext("wesnoth-lib", "language code for localized resources^en_US")
//Redundant call?
...
============
Selecting a different language doesn't call libintl_setlocale.
I used the following breakpoint list: bp libintl_setlocale;bp
libintl_bindtextdomain;bp libintl_bind_textdomain_codeset;bp
libintl_dgettext;bp libintl_dngettext;bp libintl_fprintf;bp libintl_gettext;bp
libintl_ngettext;bp libintl_printf;bp libintl_snprintf;bp libintl_sprintf;bp
libintl_textdomain
If there is anything more I can do to shed light on the problem, let me know;
I'll check back here in a few days.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?8807>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs