Solved

Language conversion

Posted on 2004-09-30
6
207 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

803 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