Microsoft Translator fails to auto translate to Indonesian language
Written By
Marcos da Silva Xavier
How To articles are not official guidelines or officially
supporteddocumentation. They are community-contributed content and may
not alwaysreflect the latest updates to Liferay DXP. We welcome your
feedback toimprove How to articles!
While we make every effort to ensure this Knowledge Base is accurate,
itmay not always reflect the most recent updates or official
guidelines.We appreciate your understanding and encourage you to reach
out with anyfeedback or concerns.
Legacy Article
You are viewing an article from our legacy
"FastTrack"publication program, made available for
informational purposes. Articlesin this program were published without a
requirement for independentediting or verification and are provided
"as is" withoutguarantee.
Before using any information from this article, independently verify
itssuitability for your situation and project.
Issue
- After enabling Microsoft Translator, as per this documentation, selecting the Indonesian language to translate to and clicking the Auto Translate button, the following message appears in the UI, “There’s a problem with the translation service. Please contact your administrator”.
Environment
- Liferay DXP 7.4
- 2023.Q4.4
Resolution
- Liferay’s technical team found out that the root cause was a mismatch between Liferay’s language code and the Microsoft one. Microsoft uses “id” as language code for Indonesian, whereas Liferay was passing “in” since “in_ID” is the language code that was registered in the portal.
- The issue was fixed by LPD-23561 and it can be found on 2024.Q1.7. If you're on a weekly 7.4 release, we strongly recommend upgrading to one of our available Quarterly Release versions before requesting a hotfix to Liferay Support. As an alternative, you can also upgrade to 2024.Q1.7 since the fix is already added to this one.
Did this article resolve your issue ?