Text format mode attribute of the NameFormat element

Attribute textFormatMode, on element NameFormat in file localization_localeCode.xml, specifies the region name that the NameFormatter class uses to format a read-only name. Method internalFormat pm the NameFormatter class defines the region names. The default value of the textFormatMode attribute is default.

Class NameLocaleSettings defines the value values that you can use for the textFormatMode attribute. If you want to add a text format mode, you must define it in this class. The default base configuration definition is:

private static final var validTextFormatModes : Set<String> = 
    { "default", "France", "Japan", "", null }

See also