Developer Area/Core Subsystems/Form API (Pieforms)/Form API i18n

From Mahara Wiki

< Developer Area‎ | Core Subsystems‎ | Form API (Pieforms)
Revision as of 13:28, 17 May 2011 by Dirkca (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Form rules can be internationalised to different languages. This is still a work in progress, but basically either a rule can export a function named form_rule_$rulename_i18n that returns a language string, or they can mash it into the Form class itself. Nigel still has to add support for getting strings from elsewhere, if necessary.