|
-
Feb 2nd, 2007, 03:13 PM
#1
Thread Starter
Fanatic Member
Multi-Language and resource files
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!
-
Feb 3rd, 2007, 10:56 PM
#2
Hyperactive Member
Re: Multi-Language and resource files
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.
-
Feb 4th, 2007, 01:43 AM
#3
Frenzied Member
Re: Multi-Language and resource files
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:
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.
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.
Good Luck
-
Feb 5th, 2007, 09:34 AM
#4
Thread Starter
Fanatic Member
Re: Multi-Language and resource files
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|