469,352 Members | 2,154 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

Internationalize the MessageBox in Compact Framework

50
Hello,

I have a question regarding internationalization. We are working on an application that is going to be used in different countries. Already we have internationalized every string that can be internationalized (text on buttons, labels etc). The problem is MessageBoxes also need to be internationalized. For instance Yes and No. I know this depends on the regional settings in your OS. But I need this to be set on user level and not OS level.

I wanted to set the CultureInfo when the user selects another language at the start, like the following line.:

Thread.CurrentThread.CurrentCulture = New CultureInfo("fr-FR", False)

The problem is that this is not possible with CF. How can I internationalize the buttons of the MessageBox? Do I need to create a new kind of MessageBox?


Kind regards,
Oct 7 '08 #1
3 2921
markmcgookin
648 Expert 512MB
Hi,

Personally I would probably override the existing messagebox class if you can and then try and update the enumerator for the buttons... that might be an option

Mark
Oct 7 '08 #2
SvenV
50
I created my own MessageBox variant which seems to work fine :)
Oct 7 '08 #3
markmcgookin
648 Expert 512MB
I created my own MessageBox variant which seems to work fine :)
Feel free to post any code you think might be helpful to anyone in the same situation in the future.

Reap what you sow and all that....

Mark
Oct 7 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Earle Oxner | last post: by
1 post views Thread by Asad Khan | last post: by
2 posts views Thread by Hans Kesting | last post: by
1 post views Thread by Daniel Passwater via DotNetMonster.com | last post: by
1 post views Thread by John Kraft | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.