wiki:MapGuideRfc18

Version 3 (modified by brucedechant, 18 years ago) ( diff )

--

MapGuide RFC 18 - Localization

This page contains a change request (RFC) for the MapGuide Open Source project. More MapGuide RFCs can be found on the RFCs page.

Status

RFC Template Version(1.0)
Submission DateMarch 7, 2007
Last ModifiedBruce Dechant Timestamp
AuthorBruce Dechant
RFC Statusdraft
Implementation Statuspending
Proposed Milestone1.2
Assigned PSC guide(s)(when determined)
Voting HistoryMarch 7, 2007
+1
+0
-0
-1

Overview

The MapGuide server currently uses the "C" locale when it starts which is not very useful for end users that are running MapGuide in a non-English environment as this is a very restrictive locale.

Motivation

The reason for adding better localization support is for better support of end-users that are not using English.

Proposed Solution

Add a new server configuration property "Locale" that can be set to whatever locale the end-users wants. If this new property is blank or does not exist in the serverconfig.ini file then the server will default to the system locale.

The following is the format used for the Locale property:

lang[_country_region[.code_page]]

Examples:

English English_United States English_United States.1252 French_France.1252

Implications

The current server configuration property "DefaultLocale" will be renamed to reflect what the property really does. The proposed new name is "DefaultMessageLocale" because the property is only for the locale of messages returned to clients that have not specified their locale themselves. The format for this property will remain the same, ie: ISO639-1 name.

Test Plan

Run unit tests on English and non-English locales.

Funding/Resources

Autodesk to provide resources / funding.

Note: See TracWiki for help on using the wiki.