Changes between Version 9 and Version 10 of MapGuideRfc45


Ignore:
Timestamp:
Jan 28, 2008, 12:05:26 PM (16 years ago)
Author:
waltweltonlair
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc45

    v9 v10  
    4242!MapGuide platform code (MgUserInformation::!SetLocale) will be extended to accept both formats.  To simplify the permutations we will convert to a (lower)-(upper) convention, i.e. zh-cn would become zh-CN.  Resource filenames would also follow this convention, e.g. "mapguide_zh-CN.res" or just "mapguide_zh.res".  A browser can make a request using either the extended format or the basic format.  If the extended format is requested and those resources are not found, then we default to the basic format.  In other words, "zh-CN" should default to using "zh" resources if "zh-CN" resources are not present.
    4343
     44The web tier methods !EnumerateApplicationContainers, !EnumerateApplicationWidgets, and !EnumerateApplicationTemplates look for a subfolder that matches the locale code.  They will also need to be updated to try the "parent" codes of the extended codes if they cannot be found (e.g. if "zh-CN" cannot be found, look for "zh").
     45
     46The session affinity code requires parsing of a session ID, which contains the locale.  This code will be looked at to determine if the use of extended codes requires any modifications.
     47
    4448
    4549== Implications ==
    46 
    4750There are no backwards compatibility issues: HTTP requests using the basic format will continue to work.
    4851
     
    5053
    5154Extended format resource files need to use the (lower)-(upper) convention (matters in Linux where filenames are case-sensitive).
     55
     56The Fusion framework uses the locale passed in by the LOCALE url parameter to determine which string bundles to load – it may require minor modifications to support extended locale codes.  DM Solutions would be required to make the changes, which are most likely trivial.
    5257
    5358