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

[Solved] Language don't works

2 Answers 216 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 12 Jan 2009, 08:21 PM

        <telerik:RadEditor ID="RadEditorRodape" runat="server" Width="100%" Height="150px"
            EditModes="Design, Html" ToolsFile="~/Controles/EditorConfigRodape.xml" EnableResize="false" Language="pt-BR">
            <Paragraphs>
                <telerik:EditorParagraph Tag="<h1>" Title="Titulo 1" />
                <telerik:EditorParagraph Tag="<h2>" Title="Titulo 2" />
                <telerik:EditorParagraph Tag="<h3>" Title="Titulo 3" />
                <telerik:EditorParagraph Tag="<h4>" Title="Titulo 4" />
                <telerik:EditorParagraph Tag="<h5>" Title="Titulo 5" />
            </Paragraphs>
            <Content>
            </Content>
        </telerik:RadEditor>

Files resx is in folder App_GlobalResources.

Language remains in english. 

Who knows what happens? Why not work?

Tks,


2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Jan 2009, 05:12 PM
Hi Ricardo,

I tried to reproduce the reported problem with the latest version of RadControls for ASP.NET AJAX but without success. For your convenience I have attached my test project where RadEditor works as expected with the pt-BR localization.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Yoly
Top achievements
Rank 2
answered on 19 Aug 2009, 10:50 PM
I know this is an old post, but I was experiencing the same thing as Ricardo, and just figured it out, just wanted to post my findings here in case this could help someone in the future.

Well, in my case, I was translating the Editor resource files to Spanish, but everything remained in english.  I had the files on the App_GlobalResources folder, but I only had the files for my language, so I only had  the .es-ES.resx files.  After I added the neutral language files (the ones without the .lang-LANG in the filename) the editor started showing up in Spanish.

So in summary, you need your translated language files, as well as the neutral language files in the App_GlobalResources folder for the translated files to work.

Yolanda.


Tags
Editor
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Yoly
Top achievements
Rank 2
Share this question
or