« Return to Thread: Re: how to localize a common dialog box

Re: how to localize a common dialog box

by Public cai :: Rate this Message:

Reply to Author | View in Thread

Hi list,

>> Firstly, my code is C++ code and it's using wxWidgets, not wxPython. I asked on this list because it seemed to me that I get the answer  quicker.
>What help is a quick answer that doesn't apply ?

Well, for most questions I asked on this list, the answers applied
both to wxPython as to wxWidgets. Indeed, in this particular case, it
seems to not apply.


I continued studying the problem and found out that for Windows,
- wxDirDialog actually calls SHBrowseForFolder()
- SHBrowseForFolder() is a Windows Shell API function
- seems that the Windows Shell API functions are not localized and
follow the language setting of Windows, meaning that if the user has a
German Windows installation (for example), she will see the common
dialogs translated to German. Also, this means that even when she uses
an English version of our program, she will still see the common
dialogs translated to German if she has a German Windows installation
(see: http://forums.msdn.microsoft.com/en/netfxbcl/thread/40fae6c6-1afc-4a4d-8638-88cdf69c5ee6/)

The Windows on my machine is English, I always see these common
dialogs in English (even when running a German version of our program)
and that's why I worried about this topic.

So I guess I shouldn't bother my head with common dialog localization anymore...

Regards,

Cristina.
_______________________________________________
wxpython-users mailing list
wxpython-users@...
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

 « Return to Thread: Re: how to localize a common dialog box