GNOME Bugzilla – Bug 309763
Can't set GUI language
Last modified: 2006-03-03 16:26:20 UTC
Please describe the problem: When I launch Dia v0.94 for Windows on an Windows XP SP2 machine using Windows StartUp menu, the User Interface language is in french, which is what I prefer. Then I can work on an existing .dia file and everything is OK. When I double click on an existing .dia file, the application is launched with a User Interface in english. I couldn't find any clue to change this in the manual (which has a 0.2 version). Steps to reproduce: 1. Launch Dia program through Windows menu 2. Open an existing file 3. Check the interface is in french 4. Close Dia 5. Double click on the same existing file 6. Check the interface is in english Actual results: The software runs OK except it uses the wrong language. Expected results: Does this happen every time? Always Other information:
If you have a close look, you'll find out that one time you're invoking dia using a batch file (where you can set dia's language) and one time you're invoking dia without the batch file. The next version of dia will look up the user interface language from the Windows Control Panel language setting. This should solve the problem.
Moving to install component cause it can only be fixed there. (Maybe the batch file should vanish?)
_please_ make the language changeable in the GUI. my language settings in w2k (engl. version) are: "Your locale (location)" "German (Germany)" required by several programs for spell checking. "Language settings for the system" "Japanese (default)" required for Kanji support in filenames, to play japanese games, and "Western Europe and United States". but my prefered GUI language is english ..
Steffen: IMO setting the language via batch file isn't desirable. And it to me it looks like the issue is better resolve by runtime calculation of the locale path instead of hardcoding ../lib/locale which make the language support dependent from the startup directory. Christian: you can make the Dia UI appear in English by simply renaming/removing the $(instdir)/lib/locale directory. Adding a dedicated UI for language switching isn't going to happen anytime soon, if at all. (I doubt the internationalization framework used supports switching the GUI language at runtime) 2006-01-21 Hans Breuer <hans@breuer.org> * config.h.win32 : #undef LOCALEDIR * app/app_procs.c : runtime calculation of localedir. It now is $(executable_dir)/../locale. Should help fix bug #309763
GTK+ version 2.8.9 allows to set the GUI language via a start menu entry. I think this fixes the bug. If you think otherwise, please reopen this bug.