[CLOSED] How i can localize the DatePicker and CalendarPanel

  1. #1

    [CLOSED] How i can localize the DatePicker and CalendarPanel

    hi all,

    kindly we are in the process of localize Datepicker and CalendarPanel controls to Russian language , how can we achieve this.


    your urgent help really appreciated.
    Last edited by Daniil; Jun 13, 2011 at 4:04 PM. Reason: [CLOSED]
  2. #2
    Hi,

    If a widget has no public properties to localization then you have to override javascript code to apply required localization options
    Please investigate locale files from Ext.Net distributive (<SVN repository>\trunk\Ext.Net\Build\Ext.Net\extnet\loc ale\)

    For each language you have to create own js locale file and attach js file with required language it to the page
  3. #3

    thanks validemer.

    can you provide me a specific path how i can localize the Datepicker and CalendarPanel , i mean is they have a localization properties or i have to to localize them using the JS localize files.
  4. #4
    Hi,

    It depends what exactly do you need localize
    Just see locale files and see how widgets are localized
  5. #5

    thanks vladimer.

    see the locale .js files and it is really nice approach, so im just change the UI culture of the page using the below approach:

    Mycode:

    this.Page.UICulture = Utilities.CommonUtil.LoginUserInfromation().SelectedCulture;
    and the datepicker is localized well and parts of calendar panel localized but a set of words still need to be localized ,i attached an image to describe to you what remain to localize which is words(Today,Week,Month,Day) on the calendarPanel, i hope you specify a specific path to follow.
    Attached Thumbnails Click image for larger version. 

Name:	localizedwithsnap.jpg 
Views:	144 
Size:	32.6 KB 
ID:	2854  
  6. #6
    Please use .TodayText, .WeekText, .MonthText, DayText properties of CalendarPanel.
  7. #7

    thanks danie, but i still have an issue with TodayText

    thanks daniel , it is working fine for WeekText, .MonthText, DayText but i still have a problem with Today text which is not changed to Russian and kept in Englsih , do i have to take an update from SVN since i use RC1.
  8. #8
    Please set .TodayText for the views. for example:
    <MonthView TodayText="Hello World!">

Similar Threads

  1. Localize the CalendarPanel
    By Guyver in forum 1.x Help
    Replies: 0
    Last Post: May 30, 2012, 1:48 PM
  2. How to Localize Command Confirmation?
    By reezvi in forum 1.x Help
    Replies: 0
    Last Post: May 07, 2012, 3:46 PM
  3. [CLOSED] CalendarPanel : bold in the datepicker the days containing events
    By ddslogistics in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 04, 2011, 3:21 PM
  4. [CLOSED] Localize
    By yobnet in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 21, 2010, 9:06 AM
  5. What the best way to localize JavaScript string?
    By Dgsoft.ru in forum 1.x Help
    Replies: 0
    Last Post: Jun 11, 2009, 8:55 AM

Posting Permissions