bodingtonclan i18n updates 4

Wed, May 25, 2005

Buttons can now be localised via their “value” attribute. The system works thus. If the text in “value” is prefixed by “localise.” then the i18n system will substitute the remainder of the text with it’s value from the current resource file(s):

<input type=“submit” name=“ok_to_proceed” value=“localise.button.ok” /> “localise.button.ok” will be replaced by the localised string identified by “button.ok”

<input type=“hidden” name=“mode” value=“secret_mode” /> the value above won’t be touched by the i18n system as it’s not marked as such by prefixing with “localise.”

The following files were modified:

comments powered by Disqus