Changes between Version 1 and Version 2 of DeveloperGuidelines/Internationalisation
- Timestamp:
- 07/28/09 20:00:15 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Internationalisation
v1 v2 11 11 12 12 To make dropdown options localisable, use this pattern: 13 {{{ 13 14 db[table][field].requires = IS_IN_SET({'1':T('Option1'), '2':T('Option2')}) 15 }}} 14 16 15 17 All reference to the options in View code should be by Index not by string (since the string can be changed).