• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Language conversion

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
genesisproject
Asked:
genesisproject
1 Solution
 
Bob LearnedCommented:
You could start here:

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

Bob
0
 
DotNetLover_BaanCommented:
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
 
flavoCommented:
Use find and replace

Find "Label1" replace with "SomeFrenchWord1"

Dave
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
armoghanCommented:
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
 
Bob LearnedCommented:
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
 
genesisprojectAuthor Commented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now