org.cruxframework.crux.plugin.gadget.client.meta
Annotation Type GadgetInfo.GadgetLocale


@Documented
@Retention(value=RUNTIME)
@Target(value={})
public static @interface GadgetInfo.GadgetLocale

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


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

country

public abstract 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:
""

lang

public abstract 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:
""

language_direction

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

Default:
org.cruxframework.crux.plugin.gadget.client.meta.LanguageDirection.UNSPECIFIED

messages

public abstract 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:
""


Copyright © 2014. All rights reserved.