I want to distribute my application around the world and allow users to perform their own translations into their native language.
I want the users to be able to use the (translated) application immediately without waiting for me to release a new version.
My code is language switchable at run-time and picks up the strings for the selected culture from resource files (e.g. Form1.en.resx).
As far as I can see the only way I can achieve this is to create .resx files named for every language in the world (but with English text in) and allow the user to edit them (maybe with a custom editor).
Any ideas on a different approach or a good .resx translation editor?
I've tried to keep this short, so I'm not sure I've described it fully enough. Please ask for more information if you think you can help.
This world is not my home. I'm just passing through.
So you finally found a way to change the culture items at runtime, even to refresh instantiaded components? Did you figure it out from the C# code you metioned in you other post?
I'd really like to have a look at that code as I have a ML project running as well. If that is ok with you that is.
From what I'd heard about VB.NET I was hoping it would be easier to do a run-time switch. I suspect I'm not using the best approach, but that's what happens when you're learning a new language isn't it.
I'm attaching the prototype code I'm working with. You change language from the Language item on the Tools menu. Don't choose German - I haven't fully implemented it yet.
Please get back to me with any thoughts, ideas, criticisms.
Tris.
This world is not my home. I'm just passing through.
You're quite right about learning a new language. I have a couple of times created some code that I've been proud of only to later find out that it could be done with 1/10 of the amount of code.
just use txt files..and make this: do a loop when the form begins and loop though all the controls of the form and replace it's captions to their names in the txt like this:
txt file:
textBox1=caption1
commandButton1=button2
then all u have to make is give the command button the same name of the left side of the string and it will assign to it what u put in the right side of it