Auto Translate missing some translations

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
jsweby
Posts: 32
Joined: Wed May 21, 2008 3:07 pm

Auto Translate missing some translations

Post by jsweby »

I have set up a very simple dictionary using the TsiLang Dictionary Manager. It has 2 languages ("Standard" and "Custom") and only about 6 entries. The first of these is:

Standard Custom
======== ========
Department Division

In the Files Editor, I open the dictionary, select Captions and click Auto Translate, with the following options:

Base language: Standard
Languages in dictionary: Custom
Options: Skip & when searching, Overwrite existing items

NB: Case sensitive search is UNTICKED.

When the translation has finished, I don't get all the results I'd expect.
  • Captions with just "Department" correctly become "Division".
    Captions with "Department:" (with a colon) translate correctly as "Division:"
    Captions with "Departments" (plural) don't translate
    Captions with "department" as part of a string don't translate (e.g. "by Department" or "Department Range")
How can I get it to replace any string containing the substring "department" with the translation?

Also, can the translation be done maintaining case? e.g.
  • Department --> Division
    department --> division
Carval Computing Limited
Payroll - HR - T&A
carval.co.uk
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hello,

Auto-translate uses the exact match with some additional behavior like keeping special symbols like space, colon and so on at the end. Plural and sub-strings are not supported.
Best regards,
Igor Siticov.
jsweby
Posts: 32
Joined: Wed May 21, 2008 3:07 pm

Post by jsweby »

Igor,

Thanks for letting me know. Is there any way to handle this, other than opening the SIL file in code and performing my own partial match StringReplace?
Carval Computing Limited
Payroll - HR - T&A
carval.co.uk
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

No, no way for this using any TsiLang methods. :(
Best regards,
Igor Siticov.
jsweby
Posts: 32
Joined: Wed May 21, 2008 3:07 pm

Post by jsweby »

OK, thanks.

Surprising though, didn't think I'd be the only one expecting/hoping that the translation would translate any part of a caption, not just whole word captions.
Carval Computing Limited
Payroll - HR - T&A
carval.co.uk
Post Reply