Page 1 of 1

Translation editor incorrect export

Posted: Fri Sep 17, 2021 2:52 pm
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

Re: Translation editor incorrect export

Posted: Fri Sep 17, 2021 3:49 pm
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.

Re: Translation editor incorrect export

Posted: Fri Sep 17, 2021 7:48 pm
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?

Re: Translation editor incorrect export

Posted: Sat Sep 18, 2021 3:21 am
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.

Re: Translation editor incorrect export

Posted: Sat Sep 18, 2021 4:52 pm
by CPS
Thank you, setting StoreAsUTF8=true fixed the problem.
You have a very good customer support that deserves a real 5-star rate.