Solved

Language conversion

Posted on 2004-09-30
6
215 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
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 …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

830 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