Arabic Conversion not happening

1 Answer 12 Views
ComboBox DropDownList Editor TextBox Window
oreops
Top achievements
Rank 1
Iron
oreops asked on 31 Jan 2025, 10:09 AM

We tried to apply the arabic conversion logic to the page. We have control like textbox, dropdown, date and grids with labels. The labels of all controls was changed without any issue. The grid column header caption and the data was also changed.

But the value inside the textbox, dropdown was not changed. Any guidance to resolve this issue.

I used the below code to enable the Google Translation in page.

function googleTranslateElementInit() {
                 new google.translate.TranslateElement({
                    pageLanguage: 'en',
                    includedLanguages: 'ar,en',
                    layout: google.translate.TranslateElement.InlineLayout.SIMPLE
                 }, 'google_translate_element');
            }

 

I herewith shared a video for your reference.

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 05 Feb 2025, 07:43 AM

Hello, 

I tested the extension in this Dojo example, and it indeed translates everything apart from the Textbox. However, as you can see, the issue is to be observed with a regular, non-Kendo <input type='text'/> element. I came across a SO thread that discusses a similar topic, and also proposes a workaround you can try:

https://stackoverflow.com/questions/7372231/how-can-i-use-google-translate-for-translating-values-in-a-website-form-field-t

Let me know if you have any questions.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ComboBox DropDownList Editor TextBox Window
Asked by
oreops
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Share this question
or