Changes between Version 12 and Version 13 of MapGuideCodingStandards


Ignore:
Timestamp:
07/14/08 11:47:56 (16 years ago)
Author:
jbirch
Comment:

Maybe final?

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideCodingStandards

    v12 v13  
    785785}}}
    786786
    787 
    788 
    789 
     787== Globalization ==
     788
     789=== .NET ===
     790
     791All strings which need to be localized must be placed into resx resource files.
     792
     793=== C++ ===
     794
     795All strings which need to be localized must be placed into res resource files.
     796
     797=== General ===
     798
     799Strings which do not need to be localized can remain in the code.  However, you should indicate the string is non-localizable by adding a NOXLATE comment, e.g.
     800{{{
     801#!cpp
     802    if (filename.EndsWith(".txt"))    // NOXLATE
     803    {
     804        ...
     805    }
     806}}}
     807
     808The comment indicates that the author of the code explicitly wants to exclude the string from being localized.
     809
     810Exception string messages should be globalized if possible.
     811
     812== Special Comments ==
     813
     814Use BOGUS in a comment to flag something that is bogus but works. Use FIXME to flag something that is bogus and broken. Use TODO when something needs to be completed but working. Code that is not implemented or not tested should raise an exception. For every instance add necessary comment to further explain the situation.
     815