Page 1 of 2

[SOLVED] Open AI - Languages

Posted: Thu Nov 21, 2024 2:53 pm
by Syntagma
Cant find the reason why the open AI addon is not showing up all the languages I have configured.

This is what I see, but I have two more languages, Indonesian (in) and hebrew (iw)
attachment.jpg
attachment.jpg (59.54 KiB) Viewed 2063 times
Any ideas?

Re: Open AI - Languages

Posted: Thu Nov 21, 2024 3:52 pm
by Tony Li
Hi,

In your dialogue database's Templates section, are the 'in' and 'iw' fields' Types set to Localization?

Re: Open AI - Languages

Posted: Thu Nov 21, 2024 4:15 pm
by Syntagma
Yes, I think so.
attachment.jpg
attachment.jpg (252.61 KiB) Viewed 2052 times

Re: Open AI - Languages

Posted: Thu Nov 21, 2024 4:20 pm
by Tony Li
Hi,

On the Dialogue Editor's Templates tab, select Menu > Apply Template To Assets. Then try the Translate Database or Translate Dialogue Entry panels again.

Re: Open AI - Languages

Posted: Thu Nov 21, 2024 4:56 pm
by Syntagma
Yes, sorry I forgot to mention but yes, i did that previously.

Re: Open AI - Languages

Posted: Thu Nov 21, 2024 4:57 pm
by Syntagma
Also, if I try to translate the specific entry for any of those 2 languages, the window comes up like this:
attachment.jpg
attachment.jpg (23.58 KiB) Viewed 2050 times

Re: Open AI - Languages

Posted: Thu Nov 21, 2024 6:38 pm
by Tony Li
Hi,

What errors or warnings are in the Console window?

Re: Open AI - Languages

Posted: Fri Nov 22, 2024 4:53 pm
by Syntagma
Could it be an error when you try to parse languages to auto detect? "in" and "iw" are also known for indonesian and hebrew but maybe not for iso codes.
attachment.jpg
attachment.jpg (40.84 KiB) Viewed 2004 times

Re: Open AI - Languages

Posted: Fri Nov 22, 2024 6:51 pm
by Tony Li
Hi,

Try using "id" for Indonesian and "he" for Hebrew. Reference: Language Code Indentifiers

Re: Open AI - Languages

Posted: Sat Nov 23, 2024 10:05 am
by Syntagma
Working now. So the language codes are then important.