change the language of calendar

Hello everyone,

How I can change the language of calendar (the Date of birth field) in join page?

 

Any help or advice is appreciatied.

Quote · 12 Aug 2011
Anyboy any help?
Quote · 13 Aug 2011

Hello,

This is not the best solution, but has worked for me. 

1. Download the datepicker regional file for your own language (you can find it if you download the datepicker jquery plugin).

2. Open the language file (e.g. for french it must be datepicker-fr.js) and copy all the the $.datepicker.regional properties (from closeText till yearSuffix). For English the properties and their values are:

 

closeText: 'Done', 
prevText: '', 
nextText: '',
currentText: 'Today', 
monthNames: ['January','February','March','April','May','June','July','August','September','October','November','December'],
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
 dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], 
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], 
dateFormat: 'mm/dd/yy', 
firstDay: 0, 
 isRTL: false

 

3. Open the file ui.datepicker.js in /plugins/jquery  (make a backup of the file first) and change the encoding to UTF8. Go to line 42 (command 'this.regional[''])

4. Replace the properties beneath the line with the properites you have copied from the language file you've downloaded. (if prevText and nextText are initialized change the values to '' in order for your date to show correctly)

5. Clear the chache. Your date should be changed now

Hope this works for you!!!

http://www.boonex.com/market/posts/kazatzo
Quote · 13 Aug 2011

Hi, kazatzo

I'm so appreciated. Thank you very much. It works. 

^_^

Quote · 15 Aug 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.