This section provides an overview of the syntax to use when working with localization directives. A localization directive is a specialized comment placed in a source document to provide filters with processing localization-related information.
Syntax and Behavior:
The following directives are available:
||Skip. Next text entry is not translatable.|
||Text. Next text entry is translatable.|
||Begin Skip. All next text entries until the next
||End Skip. Closes a section of not translatable entries.|
||Begin Text. All next text entries until the next
||End Text. Closes a section of translatable entries.|
Example 1 — Directives in a Java Properties file (with '
!' and "
key1 = Something to translate !_skip key2 = Something not to translate key3 = Something to translate #_bskip key4 = Something not to translate !_text key5 = Something to translate key6 = Something not to translate !_eskip
Example 2 — Directives in an
inside an HTML file: