Screens for Windows Phone Store

91 views Asked by At

I have just completed my new Windows Phone application. Now I want to add it to the store. My problem is, the app is translated into 34 languages and I have to provide screens for each of theese languages. Whenever I want to change the Culture of my Phone, I have to restart it - it takes too much time. My other idea was to change the culture of a running thread in the code but I could not find a working solution. Can you help me with this? I dont want to spend two days on doing screens for the store. o you have any other idea I could achieve this or could you provide some code that works on WP7 which changes the culture?

2

There are 2 answers

3
Praveen Mishra On

You can use the following code to change current culture:

 CultureInfo currentCulture = new CultureInfo("Culture_Code");
 Thread.CurrentThread.CurrentUICulture = currentCulture ;
5
crea7or On

You can change culture, but you can't force UI to update it automatically. So, you should write some code to change controls localization at runtime. Basically, there will be the one function that updates controls with selected Culture.