[ ] Regression (a behavior that stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Documentation issue or request
Current behavior
The following languages are not automatically translated: Arabic (any type of Arabic), Hebrew (any type of Hebrew), Korean (any type of Korean), Thai (any type of Thai).
Expected behavior
When clicking on the auto-translate button, the languages mentioned above should have a translated value from the master field
Minimal reproduction of the problem
Add the languages mentioned above to the project (from the settings panel)
In Scheme, add an “input” type of field to the scheme
In Content, add a post and enter “Test” in the field, and click on “All Languages”
Click on Auto-translate
The fields of the languages mentioned above won’t receive an auto-translte value
I understand the reason not to place an auto-translate button for that field because of the issues it can cause to the HTML structure. With that said, I tested it by:
Copying the source code of the rich text field with many different type of strings
Pasting in a “Text Field” which supports localization, and all languages were translated perfectly, except for Arabic and Hebrew (RTL), which makes sense, but not something that should prevent us from adjusting the text in those languages manually
Is there any chance that the “Rich Text” field will support the auto-translate feature? We find this feature one of the best Squidex advantages over other CMS products out there (beyond other amazing features).
Yes, I am planning to work on this. I would like to support markdown and html as well, but it is challenging and I expect the first versions to be buggy.
I already give up on this. It is super complicated.
My naïve approach was to start with markdown and to translate texts,e.g. “# Book” becomes “# Buch” in german. But when you have inline texts with formatting, it is a nightmare, for example when you have a bold text somewhere like “Hello ** friend **” friend, because you cannot isolate the different parts isolated from each other, because they build a sentence.
The only option that would somehow work is a conversion from html or markdown to text and to translate it then. But all the formatting is lost.
From what I saw, the “Text Filed” field works without any issues (after pasting the HTML source code into it), except for RTL languages. I wonder what is the difference?