Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetLocale
GetReader
MgUserInformation
MgUserInformation
MgUserInformation
SetLocale
SetMgSessionId
SetMgUsernamePassword
void MgUserInformation::SetLocale | ( | CREFSTRING | locale | ) |
Sets the desired locale for the user. Remarks: The locale code can be either a 2 letter language code defined by ISO 639-1, for example 'en', or a [language]-[country] code as allowed by the HTTP Accept-Language header, for example 'en-us' or 'en-gb'. Please refer to http://www.loc.gov/standards/iso639-2/php/English_list.php and http://www.w3.org/International/questions/qa-accept-lang-locales .NET Syntax
`void SetLocale(string locale);`
Java Syntax
`void SetLocale(String locale);`
PHP Syntax
`void SetLocale(string locale);`
  Parameters:
  | locale | (String/string) Input Locale code
Returns: Returns nothing

Comments or suggestions? Send us feedback.