TsiLang Components Suite
English version German version Russian version
    home           overview           features           download          order           contact us           forum

Adding Support for Far East or other Unicode languages

In case your OS default language is not a Far East or other Unicode language, you might experience some troubles with providing support for these languages under Delphi or C++Builder. TsiLang handles Unicode languages pretty well, but you will need to do the following in order to properly display and edit such languages.

First at all, you will need to adjust Fonts and Charsets before typing the Unicode language. Please do the following:

  1. Ensure that your OS is able to type the required languages, for example using Notepad application.
  2. Open the TsiLang Translation Editor (double-click on TsiLang).
  3. Select Fonts in the Translations Tree and set there appropriate font (the font that supports characters from the language) for the needed language. Usually the Tahoma font is able to display most languages
  4. Switch to the Charsets in the Tree and set the appropriate charset for the Unicode language.
  5. Select in the menu Tools->Default Languages and add languages with the font and charset assigned. Something like the following:


    Default Fonts
  6. Picture 1. Default Fonts.

  7. After this you will be able to type and see the required language under the Translation Editor.

Information below is related to non-Unicode versions of IDE, like Delphi|C++Builder 2007 or earlier!

But not all Delphi controls will be able to display the Unicode languages well, if your default locale is not the same as this language. In order to be able to display it, you will need either:

  1. To set this language as default locale. (Sometimes it is also required to set this language to the "Language for non-Unicode programs" option under Control Panel.)
  2. To use Unicode VCL controls instead of standard controls. The Unicode controls like TNT Controls or LMD ElPack are also supported by TsiLang.
  3. To replace the standard VCL controls that are just wrappers for Windows controls like TButton, TCheckbox and others with the controls that take into account the Font and Charset settings whilst draw themselves. For example, TButton can be replaced with TBitBtn. Also you may need to add owner-draw functionality to the controls that can't be replaced, for example TComboBox. In that case you will need to draw each item manually in OnDrawItem event, and draw the text using the Font and Charsets settings.

The case #3 is the most complex case. The most easy cases are #2 or #1.

TsiLang Components Suite home page: https://www.tsilang.com.

Latest version can be downloaded from: https://www.tsilang.com/download.html.

You can download this article in PDF format here: adding_support_for_far_east_or_other_unicode_languages.pdf.

Best Globalization Tool for Delphi
  Users Say
"TsiLang is absolutely the best solution I found..." Maik Kappeler, Switzerland.

"Worked seamlessly and the auto translation is a great feature! Congratulations for a great product!" Eric Deghaye, Belgium.

More testimonials...
  User's Guide
Read it on-line or download the detailed user's guide in Abode Acrobat format here.
  Frequently Asked Questions
Please refer to our collection of Frequently Asked Questions to find answer for possible questions.
  Our Forum
Discuss TsiLang issues with other users.
  See Also
Resource Builder- full featured resource editor
Embarcadero Technology Partner © 1999-2019 SiComponents® https://www.sicomponents.com. All Rights Reserved.
TsiLang®, SiComponents® and Resource Builder® are registered trademarks or trademarks of Igor Sitikov.