More than 1 language

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I try to create a new application from VB.NET.
Bottoms, text and output will show both english and Chinese.

Should I use Chinese version or I still use English verion?
If I use English version how can I add Chinese text into my applications.

Thanks,

Dannie
 
You'll want to use Satellite assemblies. These are resource assemblies that can contain locale-specific strings and binary data
(images, etc.) specific to a particular language and locale. Satellite assemblies can be used in .NET by specifying a
language/locale or you can let .NET choose the satellite assembly to load the string from using the current language/locale of the
users computer.

Check out http://msdn.microsoft.com/library/d...-us/cpguide/html/cpconLocalizingResources.asp

There are plenty of articles and docs on MSDN that can show you how to accomplish this in VS.NET using the resource editor and other
tools, other than the example above.

Good luck
 
Dannie,

You can use the RESX files.
That is activited by instance by pushing on your Form options in the showed
languages the language you are using at that moment.

(It is only a design time option, which is not real a property). Than an
extra folder is created and the code of your designer part is completly
changed.

Than by switching between the languages you can set the texts in your
program using the propertys.

I have never heard in these newsgroups about somebody who has successful
used it, so when somebody who did reads this, will he/she than give a
reaction here.

I have heard about people (including myself) who have tried it, however
where never able to set it back to the original situation when they desided
to take another approach. (It is in my opinion as well a hell of a job to
deploy)

Therefore I have build my own solution around it using a XML datasetfile.

The globalization namespase is in oposite too that a very great and good
helpful tool to use and that as well in connection with that XML dataset I
wrote above about.

http://msdn.microsoft.com/library/d...en-us/cpref/html/frlrfsystemglobalization.asp

Just my idea,

Cor
 
Back
Top