<!-- create a locale select -->
<g:localeSelect name="myLocale" value="${locale}" />
1. localeSelect
1.1. Purpose
Generates an HTML select with Locales as values
1.2. Examples
1.3. Description
Attributes
-
name- The name to be used for the select box -
value(optional) - The selected Locale; defaults to the current request locale if not specified -
locale(optional) - The Locale to use for formatting the locale names. Defaults to the current request locale and then the system default locale if not specified