Unusual behavior of locale switch in GTK2.0 application
- From: Igor Chetverovod <chetverovod gmail com>
- To: gtk-app-devel-list list <gtk-app-devel-list gnome org>
- Subject: Unusual behavior of locale switch in GTK2.0 application
- Date: Fri, 17 Mar 2017 12:05:51 +0300
Hello All,
About 5 years ago a had developped win32 application which is using 2
locales: En and Ru. Application is using GTK v2.24.10, glib v.2.28.8.
Lacalization is based on get_text() function and dictionaries genereted by
Poedit. Nullsoft NSIS v3.x script is used for installator generation.
Localization works good, locale switching too. Some days ago I had found
laptop with Windows7 which works different from others. Installator of
application does not show messages in russian correctly.Installator issue
was solved by adding string "Unicode true" to the script. But, installed my
application on this laptop does not change locale, all parts of UI stay in
English. Application is using for locale switching code:
bindtextdomain(RU_PACKAGE, LOCALEDIR);
bind_textdomain_codeset(RU_PACKAGE, "UTF-8");
textdomain(RU_PACKAGE);
I did not find a way to solve this issue. Is there ideas how to overcome
this?
Thanks,
Igor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]