Changes between Version 1 and Version 2 of DeveloperGuidelines/Internationalisation


Ignore:
Timestamp:
07/28/09 20:00:15 (16 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Internationalisation

    v1 v2  
    1111
    1212To make dropdown options localisable, use this pattern:
     13{{{
    1314db[table][field].requires = IS_IN_SET({'1':T('Option1'), '2':T('Option2')})
     15}}}
    1416
    1517All reference to the options in View code should be by Index not by string (since the string can be changed).