Here are some tips to help you localize your forms. For this, you will need to configure FormBuilder. Using PEAR::setStaticProperty() / DataObject.ini is the simplest way. Unfortunately, AFAIK some QuickForm variables aren't available (e.g. requiredNote). Maybe passing an array to create would help, but I didn't experiment.

French Localisation

The following options can be used in a french UI:

[DB_DataObject_FormBuilder]
dateFieldLanguage = fr
dateElementFormat = d M y
timeElementFormat = H:i:s
dateTimeElementFormat = d M y H:i:s

linkNewValueText = Nouveau
submitText = Envoyer
requiredRuleMessage = %s : Une valeur doit ĂȘtre fournie.
ruleViolationMessage = %s: La valeur fournie n'est pas valide.
 
pear/db_dataobject_formbuilder/l10n.txt · Last modified: 2008/09/16 11:49 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki