Constructor ModulePseudoLocale
ModulePseudoLocale()
Creates a pseudo locale with the default method set.
Declaration
public ModulePseudoLocale()
Remarks
Registers under the code "pseudo"; use the other constructor to choose the code.
ModulePseudoLocale(string, string)
Creates a pseudo locale for a specific culture code.
Declaration
public ModulePseudoLocale(string code, string localeName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | code | The culture code the pseudo locale registers under. |
| string | localeName | The display name, or null to derive one from the culture. |
Remarks
Use this when the pseudo locale should shadow a real culture, so startup selection based on the device language can reach it.