473,395 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How do you implement a multi language GUI using resx files?

Hi,

I am trying to implement a multi language GUI. I went on several websites and found documentation on resx files. I found it interesting but i must forgot one step.

I declared a resx file by default "Resources.resx" (english) and another for the french language "Resources.fr-CA.resx".

On my application i have a menu that allows the user to choose the language English or French. I am using WPF, and I tried some data binding like that :
  • Title="{x:Static res:Resources.ApplicationMainWindowTitle}"
with ApplicationMainWindowTitle is in the resx file. I also want to do it for buttons, label and others... and at runTime.

How do I implement my click event for language selection to change the language during runtime?

Thanks.
If it's not clear enough, i'll try to explain better.
Nov 4 '09 #1
0 2711

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

Similar topics

0
by: Remi | last post by:
Hello Everybody! I am going to develop a multi-language website which will include Traditional Chinese, Simplified Chinese, Thai, Japanese, etc. (and English as well). I would like to take an...
5
by: Hannes Schmiderer | last post by:
We have to support different languages in our application. We do not want to compile the whole application if anything changes in the text of the pages. With satellite assemblies this is...
2
by: JollyK | last post by:
Hello friends, In a large asp.net project, I don't think it is a good idea for having one common resource file containing all localized strings for the whole application. I think a better...
0
by: marcus | last post by:
I am developing a web site at work that needs to be both in French and English. I have been reading up on using resource files (.resx files) in combination with setting the CultureInfo to either...
4
by: Peter | last post by:
Hi! I'm developing components (webparts) for a sharepoint site and are currently having some problems with the resource manager. The site supports two languages (English and Swedish) and when...
2
by: Dylan Parry | last post by:
Hi folks, I was wondering if anyone here has experience of making Web applications that are multi-lingual? The solution that I have in my head is to have several "language" files as resources so...
3
by: madugulad | last post by:
Hi, Here I have to create C#.Net windows application for multilingual support. I created resx files for each language. And I may have to add more than 8000 entries in each resx file. I...
2
by: Aussie Rules | last post by:
Hi, I have a site that Iwant to either display my text in english or french, based on the users prefernces ? I am new to webforms, but I know in winforms, this is pretty easy with a resource...
14
by: yxq | last post by:
Hello, I want to build the multi-language application with the xml file, how to do? could anyone tell a sample? Thank you
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.