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

[Solved] Problems with Tool-translations for RadEditor

1 Answer 77 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Per Granaune
Top achievements
Rank 1
Per Granaune asked on 16 Feb 2010, 12:16 PM
Hello - I am using RadControls for ASPNET AJAX Q2 2008.

After creating the App_GlobalResources folder for the website, I set forth
making a translated RadEditor.Tools.resx (RadEditor.Tools.nb-NO.resx).

This had the desired effekt of translating all the tooltips for every single tool,
but it had an unexpected side effect:

The dropdowns for font selection, font size, real font size and Paragraph style now
display my Norwegian tooltip-translations when the page is initially loaded:

"Font-navn", "Font-størrelse", "Ekte font-størrelse" and "Avsnittsstil".

So far, so good - but the moment I give focus to the editor - clicking on a tool or
in the text area, this happens:

FireFox 3.6 (Windows):
The dropdowns display "FontName", "Fontsize", "12px" and "Normal".
The first two dropdowns seem to change from displaying the norwegian translated
value of the nb-no.resx-file to displaying the corresponding names from the same file.
The last two dropdowns display the first item in their respective lists.

Internet Explorer 8:
The dropdowns display "Times New Roman", "3", "12pt" and "Normal".
Here all the dropdowns change to displaying the first item in their respective lists.

Safari 4.0.4 (Windows):
The dropdowns display "Times New Roman", "12px", "16px" and "FormatBlock".
A third variant.

Opera 10.00 (Windows):
The dropdowns display "Times New Roman", "3", "16px" and "Normal".
Yet another variant.

Why this erratic behaviour? Are there more .resx-files that need editing?
(I started out only intending to change the tool tips)

I hope can someone has a tip - it's probably just a minor adjustment that needs
to be done, but it's a tad annoying.





1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Feb 2010, 11:43 AM
Hi Per,

The information displayed in the Font Name, Font Size, Real Font Size and Paragraph style dropdowns is actually returned by the browser's queryCommandValue method. This method returns the selected element font and heading information and we update the headers of the different dropdowns in it. This information is localized depending on the localization of the browser and we do not control it.

Kind regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Per Granaune
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or