Is there a faster way to add multi-language to a C# project other than pasting in the text one bit at a time into the enlish/spanish resource files?
Thanks!
Printable View
Is there a faster way to add multi-language to a C# project other than pasting in the text one bit at a time into the enlish/spanish resource files?
Thanks!
One time I put all my labels and menu items in an array then just had an option to select a language. Made easier because it just pulled the language from a file and I got all the items translated through e-mail. You are probably able to pull that info in yourself and select the language. Other than that I dunno.
birthjay:
I don't know if this would be of any assistance to you, but I noticed in the .Net Framework Developer's Guide, something about the CultureInfo Class and they had this to say:I'm not sure how it is used or just what it does or does not contain, but you might explore it a little and see what you come up with.Quote:
The CultureInfo class contains culture-specific information, such as
the language, country/region, calendar, and cultural conventions associated
with a specific culture. This class also provides the information required
for performing culture-specific operations, such as casing, formatting dates
and numbers, and comparing strings.
Good Luck
All this is true....but....what if you have 70 forms. Do you have to manually entered each label, button, etc.... text into the resource file? I used a third party tool for VB6 to handle this quite nicely and they have a .NET tool....but I (thought) Microsoft had a better and faster way of doing this within .NET itself. It ain't looking good though.