Translation editor incorrect export

This forum designated to discuss the TsiLang Components Suite.
Post Reply
CPS
Posts: 5
Joined: Fri Sep 17, 2021 1:48 pm

Translation editor incorrect export

Post by CPS »

I have exported a translation file that contains Turkish and Spanish characters.

Image

They look correct in Delphi IDE translation editor but replaced with "?" or converted into ANSI characters without diacritic symbols.

Image

As a result the file is in unusable in SIL editor

Image

isiticov
Site Admin
Posts: 2268
Joined: Thu Nov 21, 2002 3:17 pm

Re: Translation editor incorrect export

Post by isiticov »

Hello,
Unfortunately images are not visible. But I would suggest to use one of the following:
  • Use SIB file for export translations;
  • Set StoreAsUTF8 property to True;
  • Define properly font and charset for each language under Fonts and Charsets sections respectively.
As SIL file is simple ANSI text file it "needs more information" to store local characters.

Hope this helps.
Best regards,
Igor Sitikov.

CPS
Posts: 5
Joined: Fri Sep 17, 2021 1:48 pm

Re: Translation editor incorrect export

Post by CPS »

The images are visible, at least from the USA.
The links are:

http://cosmic-matrix.com/pub/pics/tsila ... rt%200.png
http://cosmic-matrix.com/pub/pics/tsila ... rt%201.png
http://cosmic-matrix.com/pub/pics/tsila ... rt%202.png

>Use SIB file for export translations
There is no option as how to export the strings from Translation Editor, just *.sil,
at least in the version I use. Is this a new feature?

http://cosmic-matrix.com/pub/pics/tsilang-export-0.png

>Set StoreAsUTF8 property to True

Same question.
Where this option in Translation Editor is?
Last edited by CPS on Fri Sep 17, 2021 7:58 pm, edited 2 times in total.

isiticov
Site Admin
Posts: 2268
Joined: Thu Nov 21, 2002 3:17 pm

Re: Translation editor incorrect export

Post by isiticov »

Hello,
CPS wrote:
Fri Sep 17, 2021 7:48 pm
>Use SIB file for export translations
There is no option as how to export the strings from Translation Editor, just *.sil,
at least in the version I use. Is this a new feature?
SIB file export option will be available if you select top-node in the left-side tree (Translations) but this will save all the translations properties into the file, because SIB can't contain only separated properties.
>Set StoreAsUTF8 property to True
Same question.
Where this option in Translation Editor is?
StoreAsUTF8 is a property of TsiLang component and it was introduced quite long time ago.

If you use old version be sure then to set properly Fonts and Charsets for every language to keep local characters in SIL file.


Btw, it looks strange but your screenshots:
http://cosmic-matrix.com/pub/pics/tsila ... rt%200.png
and
http://cosmic-matrix.com/pub/pics/tsilang-export-0.png
show Translation Editor from 2 different versions of TsiLang Components Suite, the second one is much older than the first one.
Best regards,
Igor Sitikov.

CPS
Posts: 5
Joined: Fri Sep 17, 2021 1:48 pm

Re: Translation editor incorrect export

Post by CPS »

Thank you, setting StoreAsUTF8=true fixed the problem.
You have a very good customer support that deserves a real 5-star rate.

Post Reply