Skip to content

SetRegion

Defines the region to use when localizing the application display. SetRegion only affects formatting, e.g. date and number formats. It is different from the region specifier in SetLanguage.

Does not change the device region settings. All the properties defined under Action are applicable to this action.

SetRegion Properties

Property Type Required
Region string Yes
_Type const Yes

Region

The region code to be set.

Examples: "US", "UK", "CA", "HK"

  • type: string

_Type

  • type: const

The value of this property must be:

"Action.Type.SetRegion"

Action Result

Refer to the MDK Guide to understand what an action result is.

When this action gets executed successfully, the ActionResult is ideally the set region, otherwise it’s an error message.