<!-- create a locale select -->
<g:localeSelect name="myLocale" value="${locale}" />
localeSelect
Purpose
Generates an HTML select with Locale
s as values
Examples
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