This is a migrated thread and some comments may be shown as answers.

Insert Image Dialog text is not localized.

2 Answers 33 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ramakrishna
Top achievements
Rank 1
Ramakrishna asked on 12 Jan 2012, 02:05 PM
Hi,

Currently, I am using MVC Telerik Editor version 2011.2.712. The text like 'Insert image', 'Web address', 'Tool Tip', 'or', 'Insert' and 'Close' being displayed on the Insert Image Dialog are not localized. They are directly displayed from script files. I am placing the code below for ready reference. The text "Tool Tip" must actually be displayed as "Alternate Text" as the image tag returned by Insert Image Dialog does not contains 'title' attribute, but contains 'alt' attribute.

File Name: \2011.2.712\telerik.editor.min.js
Code snippet:

ba=at.window.create(s.extend({width:750},

 

this.editor.dialogOptions,{title:"Insert image",html:new s.telerik.stringBuilder().cat('<div class="t-editor-dialog">').catIf('<div class="t-image-browser"></div>',be).cat("<ol>").cat('<li class="t-form-text-row"><label for="t-editor-image-url">Web address</label><input type="text" class="t-input" id="t-editor-image-url"/></li>').cat('<li class="t-form-text-row"><label for="t-editor-image-title">Tool Tip</label><input type="text" class="t-input" id="t-editor-image-title"/></li>').cat("</ol>").cat('<div class="t-button-wrapper">').cat('<button class="t-dialog-insert t-button">Insert</button>').cat("&nbsp;or&nbsp;").cat('<a href="#" class="t-dialog-close t-link">Close</a>').cat("</div>").cat("</div>").string()


Please can anyone suggest me on achieving localized text here?


2 Answers, 1 is accepted

Sort by
0
Nihat
Top achievements
Rank 1
answered on 07 Jan 2013, 12:45 PM
Hello,

the same issue occurs with the successor 'Kendo UI Editor ImageBrowser' (http://demos.kendoui.com/web/editor/imagebrowser.html).
The texts 'Insert image', 'Web address', 'Alternate Text', 'Search', 'Insert' and 'Close' being displayed on the Insert Image Dialog are not localized.

How can i achieve this?

Kind regards
Nihat
0
Alex Gyoshev
Telerik team
answered on 07 Jan 2013, 03:37 PM
Hello Nihat,

The issue has been addressed in both the Kendo UI editor and in the latest version of the Telerik Extensions for ASP.NET MVC.

Kind regards,
Alex Gyoshev
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
Editor
Asked by
Ramakrishna
Top achievements
Rank 1
Answers by
Nihat
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or