Solved

Language conversion

Posted on 2004-09-30
6
198 Views
Last Modified: 2010-04-23
I have a program that I have been working on my spare time and I have to convert my label names from english to french.  I know there is a way and I cant remember how to do it.
0
Comment
Question by:genesisproject
6 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 12194308
You could start here:

Globalization and Localization...
http://www.dotnetjohn.com/articles/articleid59.aspx 

Bob
0
 
LVL 18

Expert Comment

by:DotNetLover_Baan
ID: 12194587
Bob, don't you think, "Globalization and Localization" is used only for changing formats; like date, time etc. You can not use this concept for changing Label names. No way. "Label1" is "Label1" in any language. Changing names, is not at all logical.
I guess we can't do that.  What do you think Bob ?
-Baan
0
 
LVL 34

Expert Comment

by:flavo
ID: 12194794
Use find and replace

Find "Label1" replace with "SomeFrenchWord1"

Dave
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 18

Expert Comment

by:armoghan
ID: 12197890
I think , may be, genesisproject , wanted to say "my label ***titles*** from english to french"

In that case resource files are what is required and you can get help from the link suggsted by Bob
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 12199104
You're right Baan, but that article talked a bit about resource files and other stuff than just formatting, but it lacked the one thing that I thought it had:

Improving Performance of Localized Forms
http://windowsforms.net/articles/localizationfilter.aspx

Bob
0
 

Author Comment

by:genesisproject
ID: 12201225
thanks to all that placed your comments and was very helpful.
I decided to do a different methodology

i made a table with 3 columns  labelName, englishWord, FrenchWord

I made a for each ctl in from.Controls

compared the name of the label to the label in my datatable and replaced the word

thanks to all that helped
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now