How-To

New Date Picker on non-English sites


ABPro 3.0.5 uses the JQuery Datepicker.

As it is JQuery, it has no knowledge of Joomla or Joomla Language files.

ABPro ships with several translations included..

Chinese
Danish
English
French
German
Hungarian
Italian
Polish
Spanish
Swedish

The translations are placed in the /datepicker_locale folder of the ABPro component.

 

 

 


Instructions for making translation files for other languages.

 

The jQuery Datepicker translations master list is here..

https://github.com/jquery/jquery-ui/tree/master/ui/i18n

 

The link on that page is actually to a html page describing the .js file not a usable .js file.

To make a translation file you need to cut&paste the js code into a new file in the ABPro /datepicker_locale folder.

 

For example to make a Norwegian language file you would create a file called datepicker-no.js in the ABPro /datepicker_locale folder.

Go to https://github.com/jquery/jquery-ui/blob/master/ui/i18n/datepicker-no.js

Cut & paste the Norwegian translation js code into the new datepicker-no.js file.

Now ABPro will display Norwegian datepicker.