In some cases, you may want to keep the majority of the locale settings in your language packs, but still change some of them programmatically based on certain server-side conditions.
The way this works is the following - if a specific value for a property is not specified in PHP code, the default from the language pack will be used. If it is specified in code however, it will override the language pack default.

Not all texts can be set dynamically.

A example for this is customizing the 'all-day' text. Using setOptions method for the allDayText variable we can overwrite the text.

<?php ... $eventcal = new jqScheduler($conn); ... $eventcal->setOptions(array( 'allDayText'=>'All Day' )); ... ?>