After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309763 - Can't set GUI language
Can't set GUI language
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: install
0.94
Other All
: Normal normal
: ---
Assigned To: Steffen Macke
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-07 23:28 UTC by Olivier
Modified: 2006-03-03 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier 2005-07-07 23:28: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:
Comment 1 Steffen Macke 2005-07-09 07:02:59 UTC
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.
Comment 2 Hans Breuer 2005-10-08 21:03:34 UTC
Moving to install component cause it can only be fixed there.
(Maybe the batch file should vanish?)
Comment 3 christian mueller 2005-10-17 14:24:16 UTC
_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 ..
Comment 4 Hans Breuer 2006-01-21 13:19:25 UTC
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
Comment 5 Steffen Macke 2006-03-03 16:26:20 UTC
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.