Tools for localization?

  • Thread starter Thread starter Robin Tucker
  • Start date Start date
R

Robin Tucker

Hi there,

Ideally, I would like a tool that would allow me to "export" a list of all
strings on my forms so that one of our overseas salespeople can translate
into another language, return it to me and allow me to "automatically"
import these new strings onto localized versions of my forms. The way I see
it working at the moment, is I have to manually set the Localizable and
Language flags on each form and then manually change each string on each
form to the localized version. Also, how can I create/export/import
string-tables for all of my local string literals in code?

If you can give me any information about best practice for doing this, I
would really appreciate it.

Thanks

Robin
 
If you set each forms as localizable, then VS.NET will create resource files for you. Send that over to be transalated. Once translated put it in the correct folder and .NET will load the correct resource file according to your threads culture setting.

Rgds,
Anand M
VB.NET MVP
http://www.dotnetindia.com
 
Hi Robin,

In my opinion is using XML very nice for this, and than a XML dataset is
even simpler.

You can choise for one dataset or a dataset per language.

This gives you the advantages that you can let a German indepenently set his
text while an Englisman can make the English text etc etc

That is how I think at this moment about this problem.

And when you want the best answers, you can get it from someone from Canada,
Beligian or Switzerland.

We have a lot as regulars who are Belgians, so maybe they can give there
opinion as well

Cor
 
Ok chaps,

I can see how to localize the forms, but what about my string literals?
There are many instances of these in my program. In previous versions of
Duff-studio, you were able to add a resource call a "string table", populate
it and reference the strings via. #defines' such as IDS_MY_NAME (ok, ok, in
C++). Then, with this string table compiled into resources, it could be
localised. How do I do a similar thing with VB.NET? I can't see a string
table editor for the global resource dll!

Robin
 
Ahh, thats useful. thanks.

Anand[MVP} said:
That is what your .resource file is for... This link may help you get started
http://msdn.microsoft.com/library/d...html/vxoriplanningglobalreadyapplications.asp


--
Regards,
Anand M
VB.NET MVP

http://www.dotnetindia.com


Robin Tucker said:
Ok chaps,

I can see how to localize the forms, but what about my string literals?
There are many instances of these in my program. In previous versions of
Duff-studio, you were able to add a resource call a "string table", populate
it and reference the strings via. #defines' such as IDS_MY_NAME (ok, ok, in
C++). Then, with this string table compiled into resources, it could be
localised. How do I do a similar thing with VB.NET? I can't see a string
table editor for the global resource dll!

Robin

set
his
 
Hi Robin,

The resource files can be a nice solution however fails in my opinion in
this part of your question, (that is why I did not say it) they are a part
of your application (I think that is better but not flexible for adding more
languages).
Ideally, I would like a tool that would allow me to "export" a list of all
strings on my forms so that one of our overseas salespeople can translate
into another language

(You know we have a lot of languages here in the EU, but as I say, try to
get an answer from Pieter, Eric or Dominique, they are living in Belgian,
which is a relative small country where educated people are talking 2
languages as if it is there native language (Dutch and French) while there
are official 3 languages (German also), they have to do a lot with this I
assume).

However thinking on it, probably the resource file works fine for them
because they can type it in direct while making the program.

Cor
 
Back
Top