com.google.gwt.gadgets.client
Annotation Type Gadget.GadgetLocale


@Documented
@Target(value={})
public static @interface Gadget.GadgetLocale

This annotation allows Locale tags to be added to the module specification.


Optional Element Summary
 java.lang.String country
          The two letter country code associated with the locale.
 java.lang.String lang
          The language associated with the locale.
 LanguageDirection language_direction
          The direction of the gadget.
 java.lang.String messages
          A URL that points to a message bundle.
 

lang

public abstract java.lang.String lang
The language associated with the locale. Optional, but one of either lang() or country() must be specified. If omitted, the lang default is *.

Default:
""

country

public abstract java.lang.String country
The two letter country code associated with the locale. Optional, but one of either lang() or country() must be specified. If omitted, the country default is ALL.

Default:
""

messages

public abstract java.lang.String messages
A URL that points to a message bundle. Message bundles are XML files that contain the translated strings for a given locale. For more information, see Gadgets and Internationalization. Optional.

Default:
""

language_direction

public abstract LanguageDirection language_direction
The direction of the gadget. Optional. The default is LTR.

Default:
UNSPECIFIED