• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 541
  • Last Modified:

Multilanguage Support in VB

Hi

How can we enable VB applications to support multilanguages?
ie; I  need to display all the control labels, messages etc in a specified language chosen by the end user...(Dynamic content generation method is used)

Thanks in Advance
Riyasjef
0
riyasjef
Asked:
riyasjef
  • 4
  • 2
  • 2
  • +1
1 Solution
 
mladenoviczCommented:
You can load strings from external file (txt, xml) or you can use resource files
0
 
mladenoviczCommented:
Here is usefull link
http://www.vb-helper.com/tut9.htm
0
 
DhaestCommented:
Few points to keep in mind while developing multi lingual projects:

1. first and visible part is GUI. all the captions, messages and report layouts. for this the better option would be to use Database.  and the other point to keep in mind is if you are planning to support languages like Japanese, Chinese etc. have to take care of double byte characters. and captions may vary in length depending on the language. should keep in mind, the spacing between controls.

2. Second point is Regional settings.  Depending on the coutry date and currency formats change. the separators change. For example in France thousand separator is space and decimal separator is ".".

3. There are several ways to do it. If you're already using a database, just try to load every string you use out of a database. You can also use Resource files

for More useful information
http://www.vb-helper.com/tut9.htm

or in old MSDN there was a separate section on localization.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
EDDYKTCommented:
If you use XP or higher, they already support multi-byte.

You just need to change the locale from regional settings and load the proper font from CD.

There is several way to do and most of expects already meantion about. From my options, it is better to ship with xml file. I found it is lot easier to plot to .NET or easy to change as well ( better than resource file)
0
 
EDDYKTCommented:
XML is good for string. if you need to include icon or menu, then better to use dbase or resource file
0
 
riyasjefAuthor Commented:
Hi
thanks for all comments
i am using a database for storing multilanguage strings
but actual problem is Vb controls show "?????" after loading multilanguage strings to application
(eg;chinese)
i am using Windows 2000

Any idea?
Riyasjef
0
 
EDDYKTCommented:
>>i am using Windows 2000

I think you are out of luck, the minimum mutli-lanuage os support by MS is Win XP
0
 
riyasjefAuthor Commented:
hi
but i am able to use some languages like Arabic, French etc after changing the "regional settings" but having problem with chinese

0
 
EDDYKTCommented:
>>but i am able to use some languages like Arabic, French etc after changing the "regional settings" but having problem with chinese


I think they are single byte not multi-byte.


try Janpanese it is multi-byte
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now