Login Retreive lost passwordRegister
Search

Forum Index / General / Localization of jsCalendar

[ This topic is solved ]

  Lello Vitello 07 May 09 / 10:51  
Hello, if I see well, FH uses jsCalendar for the jsDateField. It would be nice to have it translated in other languages. I downloaded the full jsCalendar, and there are language files in it, but I don't know if is it possible to set them working in FH enviroment. Anyone hasdone this?

Thanks a lot

  Thomas Branius 07 May 09 / 12:04  
Changed at 07 May 09 / 12:04
Hi,

I've done this!
File: ./FH3/fields/class.jsDateField.php (Line 112)
German Version:
<?php
          
"   var cal_".$this->_sName." = new CalendarPopup('".$this->_sName."_div');\n".
          
"   cal_".$this->_sName.".setMonthNames('Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember');\n".
          
"   cal_".$this->_sName.".setDayHeaders('S','M','D','M','D','F','S');\n".
          
"   cal_".$this->_sName.".setWeekStartDay(1);\n".
          
"   cal_".$this->_sName.".setTodayText('Heute');\n".
?>

  Lello Vitello 07 May 09 / 15:57  
Vielen Danke :-)

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license