Annotation Interface I18n


@Retention(RUNTIME) @Target(TYPE) @Documented @Deprecated(since="6.5.0", forRemoval=true) public @interface I18n
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated since 6.5.0. Since 6.3.0, languages come from the lang/* files the module JAR ships (.json, .yml, or .yaml), not this declaration. Remove the annotation and ship the language files instead. This annotation may be removed as early as 6.6.0.
Legacy language declaration, retained for source and binary compatibility.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Element Details

    • value

      String[] value
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      i18n code
      See Also:
      Default:
      {}