Changes between Version 5 and Version 6 of CodeBestPractices


Ignore:
Timestamp:
2010-10-25 15:56:47 (13 years ago)
Author:
jeroens
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CodeBestPractices

    v5 v6  
    33 
    44== Resources and localization == 
    5 Theoretically, the EwE6 scientific interface can be localized to any language, although we do not envy the poor soul commissioned to perform such a job. In theory all language-specific elements are provided either in localizable forms or in localizable resource tables. 
    6 The !ScientificInterfaceShared assembly offers a whack of shared resources, such as strings and images, for plug-ins and the main Scientific Interface to share to reduce the amount of scattered resources that need localizing.  
     5Theoretically, the EwE6 scientific interface can be localized to any language, although we do not envy the poor soul commissioned to perform such a job. In intention all language-specific elements in EwE should be provided either in localizable forms or in localizable resource tables. The code is not perfect here, and please let us know if you find exceptions. 
     6 
     7The !ScientificInterfaceShared assembly offers a whack of shared resources, such as strings and images, for plug-ins and the main Scientific Interface to share to reduce the amount of scattered resources that need localizing. In your assembly simply add a statement such as import !ScientificInterfaceShared.My.Resources = !SharedResources, and access all shared resources on the imported !SharedResources thingy. 
    78 
    89When you develop your own plug-ins with a user interface, please try to stick to the following resource guidelines: