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

Language Translation

4 Answers 124 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Chase Florell
Top achievements
Rank 1
Chase Florell asked on 26 Mar 2009, 06:06 PM
I am trying to use the Language Translation found here (http://demos.telerik.com/aspnet-ajax/editor/examples/googletranslation/defaultcs.aspx) But have come up against a problem where if I put the <tools> tag inline in my RadEditor, it completely ignores my ToolsFile.xml

Is there either a way around this OR the ability to put the translation stuff into the toolsfile.xml?

Thanks

4 Answers, 1 is accepted

Sort by
0
Chase Florell
Top achievements
Rank 1
answered on 28 Mar 2009, 02:16 AM
-- shuffle --
0
Rumen
Telerik team
answered on 30 Mar 2009, 03:26 PM
Hi Chase,

You can see how to populate the custom dropdown via the ToolsFile in the description tab of following live example: Custom Dropdowns.

Here is an example:

<?xml version="1.0" encoding="utf-8" ?> 
<root> 
  <tools> 
    <tool name="TranslateTool" text="&lt;img src='./flags/en.png' /> Translation Tool"  type="dropdown" Width="130px" ItemsPerRow="1" PopUpWidth="270px" PopUpHeight="300px"
      <item  name="&lt;img src='./flags/en.png' /> English"  value="en"  /> 
      <item  name="&lt;img src='./flags/es.png' /> Spanish"  value="es"  /> 
      <item  name="&lt;img src='./flags/de.png' /> German"  value="de"  /> 
    </tool> 
  </tools> 
</root> 


Kind regards,
Rumen
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Chase Florell
Top achievements
Rank 1
answered on 30 Mar 2009, 03:39 PM
Just what I was looking for, thank you.

One more question (cause I'm lazy)... have you got the flag gif's posted for download anywhere?
0
Tervel
Telerik team
answered on 30 Mar 2009, 03:42 PM
Hello Chase,

All these demos are part of the RadControls for ASP.NET AJAX installation - this demo is no exception.
If you install the suite you will have the images (in a folder in the demo)

Best regards,
Tervel
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Chase Florell
Top achievements
Rank 1
Answers by
Chase Florell
Top achievements
Rank 1
Rumen
Telerik team
Tervel
Telerik team
Share this question
or