...
The General Tab contains options for configuring the type of encoding, extracting HTML content, extracting quoted strings, excluding quoted strings, including or excluding additonal content, and text segmentation. The options are described in general below based on individual sections.
Encoding -
The default encoding selection for web pages is UTF-8; however, the encoding option may be used to select a different type of encoding such as Windows, Macintosh, ASCII, etc. An option is also provided for checking the encoding of a file to learn what encoding type is used.
HTML Content -
This option should be enabled if the code file contains HTML content. By default, the option is disabled to ensure a successful online translation; however, if HTML content is present you will need to enable this option and choose an HTML configuration to use for the translation. Within this configuraiton section, you may also elect to split text at HTML breaking tags.
Extract Quoted Strings - Code
Code files typically contain translatable text in quoted strings. By default, all quoted string are extracted, but you can add regular expressions within the "Exclude Quoted Strings" section of the configuration to exclude certain strings from the translation. The options in this section are specifically for handling the extraction of quoted strings and include:
- Showing whitespaces at beginning and end to the translator.
- Compressing sequences of whitespaces into a single whitespace.
- Enabling the use of //notrans, //beginnotrans ... //endnotrans to delimit non-translatable code.
Exclude Quoted Strings - This
This configuration section may be used to define patterns to find and exclude specific quoted strings from translation. The system checks each pattern and if one matches the text, it is not extracted for translation. Several
Several pre-defined patterns exist within this section and are configured to not be translatable. They may be modified, marked as translatable or removed within this configuration section. You may also add new patterns to handle more specific translation needs.
Include or Exclude Additional Content
...
Within this section you may mark a pattern as translatable or not translatable, add descriptions for patterns, remove patterns, or add a new pattern.
Text Segmentation -
This configuration section may be used to enable options for text segmentation during tranlsation. Here you can:
...