locked
Custom Localizations RRS feed

  • Question

  • User206648850 posted

    With version 15, is there a way for me to provide my own set of localizations for languages that are not a part of the ACT?

    Sunday, August 23, 2015 12:39 AM

Answers

  • User206648850 posted

    As a stop gap, the approach I took was to extend the CalendarExtender so Sys.Extended.UI.Resources.Calendar_Today is overwritten with my own localized version of "Today: {0}".

    ACT should be implemented to allow localized strings to be passed into it in addition to the existing localization features.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 25, 2015 8:48 PM

All replies

  • User1724605321 posted

    Hi mentisdominus,

    is there a way for me to provide my own set of localizations for languages that are not a part of the ACT?

    Welcome to ASP.NET Forum .

    what is the meaning of "that are not a part of the ACT" ? if you want to implement globalization of AJAX Control Toolkit ,you could refer to links below for details and demo:

    http://geekswithblogs.net/guilhermecardoso/archive/2010/05/25/ajax-control-toolkit---globalization-language.aspx .

    http://forums.asp.net/t/1368331.aspx?AJAX+control+toolkit+localization

    If i misunderstand your requirement ,you could explain more about it .

    Best Regards,

    Nan Yu

    Monday, August 24, 2015 5:27 AM
  • User206648850 posted

    The AjaxControlToolkit doesn't have translations defined for every language. For example, the CalendarExtender does not have a translation for "Today" in Swedish or Latvian. My web application supports around 50 languages. From looking at the ACT source code, localization strings are provided only for 18 languages. I am wondering if there is a way for me to provide translations for strings that are not included with ACT.

    Monday, August 24, 2015 1:34 PM
  • User206648850 posted

    As a stop gap, the approach I took was to extend the CalendarExtender so Sys.Extended.UI.Resources.Calendar_Today is overwritten with my own localized version of "Today: {0}".

    ACT should be implemented to allow localized strings to be passed into it in addition to the existing localization features.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 25, 2015 8:48 PM
  • User1724605321 posted

    Hi mentisdominus ,

    ACT should be implemented to allow localized strings to be passed into it in addition to the existing localization features.

    I am happy to hear that you have solved your problem and provide the solution .

    You could also refer to this article:https://ajaxcontroltoolkit.codeplex.com/wikipage?title=Localization :

    Toolkit controls have literal strings used by their behaviors which show up in the browser to communicate to the user information about the control or get input from them. For example, the Calendar control uses the string “Today” to indicate that the field right below the dates shows the current date .So if your website has the culture-sensitive settings turned on, then the Toolkit controls will work out of the box without any extra effort on the part of the website author to build separately for other languages.

    Best Regards,

    Nan Yu

    Wednesday, August 26, 2015 1:20 AM
  • User206648850 posted

    Thanks Nan Yu. It sounds like that documentation is referring to an older version of ACT. Plus, the ACT doesn't have translations for every language from what I've seen (for example, no translations for Swedish or Latvian). If I'm wrong about that, please let me know.

    Wednesday, August 26, 2015 5:44 PM
  • User-693045842 posted

    Hi

    I read the article above i think it is  available in today , and also refer to:

    http://www.pcreview.co.uk/threads/ajax-calendar-how-to-change-language.3390859/ 

     "Today" problem may be related to lack of satelite assebly with Swedish language.

    Wednesday, August 26, 2015 10:45 PM