Hi,
I have a standalone ImageManger on the page which is not taking the correct globalization settings from the thread.
I have
Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE")
Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE")
In Code behind but it is falling back to the default culture from web.config.
How can I set the dialog language correctly?
Marc
I have a standalone ImageManger on the page which is not taking the correct globalization settings from the thread.
I have
Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE")
Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE")
In Code behind but it is falling back to the default culture from web.config.
How can I set the dialog language correctly?
Marc
9 Answers, 1 is accepted
0
Hello Marc,
To localize RadEditor and its dialogs you should set the Language property and copy the localization files in the App_GlobalResources folder. See this article for more information: Using Global Resource Files.
Kind regards,
Rumen
the Telerik team
To localize RadEditor and its dialogs you should set the Language property and copy the localization files in the App_GlobalResources folder. See this article for more information: Using Global Resource Files.
Kind regards,
Rumen
the Telerik team
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 29 Mar 2011, 02:09 PM
Hi Rumen,
I am talking about a standalone configuration here...not about a RadEditor integrated Image Manager.
Marc
I am talking about a standalone configuration here...not about a RadEditor integrated Image Manager.
Marc
0
Try the following:
Greetings,
Rumen
the Telerik team
DialogDefinition imageManager =
new
DialogDefinition(
typeof
(ImageManagerDialog), imageManagerParameters);
...
//Set the language
imageManager.Parameters[
"Language"
] =
"fr-FR"
;
Greetings,
Rumen
the Telerik team
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 30 Mar 2011, 08:44 AM
Very good Rumen this works.
Some additional places where text is not displayed correctly:
1. ImageManager pager got two texts, see screenshot.
2. Where can I get the resx for German from the demo http://demos.telerik.com/aspnet-ajax/window/examples/localization/defaultcs.aspx
Thanks for your time.
Marc
Some additional places where text is not displayed correctly:
1. ImageManager pager got two texts, see screenshot.
2. Where can I get the resx for German from the demo http://demos.telerik.com/aspnet-ajax/window/examples/localization/defaultcs.aspx
Thanks for your time.
Marc
0
Hi Marc,
1) I was unable to reproduce the problem. I have attached my test project and video demonstrating my test http://screencast.com/t/rsjQUyexY.
2) The requested files are available in the C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q2 2010\Live Demos\App_GlobalResources installation directory. For your convenience I have attached them to my reply.
All the best,
Rumen
the Telerik team
1) I was unable to reproduce the problem. I have attached my test project and video demonstrating my test http://screencast.com/t/rsjQUyexY.
2) The requested files are available in the C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q2 2010\Live Demos\App_GlobalResources installation directory. For your convenience I have attached them to my reply.
All the best,
Rumen
the Telerik team
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 31 Mar 2011, 01:45 PM
It is no problem to apply the RadWindow resx to a RadWindow with
But howto apply this to the RadWindows which are used in the RadEditor??
Marc
<Localization Maximize="<%$ Resources:RadWindow, Maximize %>" Minimize="<%$ Resources:RadWindow, Minimize %>"
Close="<%$ Resources:RadWindow, Close %>" PinOff="<%$ Resources:RadWindow, PinOff %>"
PinOn="<%$ Resources:RadWindow, PinOn %>" Reload="<%$ Resources:RadWindow,Reload %>"
Restore="<%$ Resources:RadWindow, Restore%>" Cancel="<%$ Resources:RadWindow, Cancel %>"
OK="<%$ Resources:RadWindow, OK %>" No="<%$ Resources:RadWindow, No %>" Yes="<%$ Resources:RadWindow, Yes %>" />
But howto apply this to the RadWindows which are used in the RadEditor??
Marc
0
You can see how to change the localization of the Close button of the standalone image manager in this article: Changing the localization of RadWindow for ASP.NET AJAX.
We will also provide a way to localize the close button of RadEditor dialogs trough the provided resx files in one of the upcoming builds of Telerik.Web.UI.dll
Best wishes,
Rumen
the Telerik team
We will also provide a way to localize the close button of RadEditor dialogs trough the provided resx files in one of the upcoming builds of Telerik.Web.UI.dll
Best wishes,
Rumen
the Telerik team
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 01 Apr 2011, 07:27 AM
OK this also goes for RadEditor dialogs
FileBrowser pager slider tooltips: "Increase", "Decrease"
FileBrowser grid column resize: "Drag to resize"
Marc
FileBrowser pager slider tooltips: "Increase", "Decrease"
FileBrowser grid column resize: "Drag to resize"
Marc
0
Hi Marc,
I logged this issue in our bug tracking system. You can find the PITS Issue and check its status at Public URL.
Best regards,
Rumen
the Telerik team
I logged this issue in our bug tracking system. You can find the PITS Issue and check its status at Public URL.
Best 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