...
The Server and Client Side Code Tab contains options for configuring the extraction and exclusion of quoted strings and additional content within the web page to be translated.
...
- Extract Quoted Strings
...
- - Web pages may contain Javascript or server side code such as PHP. You can decide whether the system will automatically extract quoted strings in code sections during translation.
...
- For example, you can compress sequences of whitespaces or extract quoted strings even when no pattern entered in the "Exclude Quoted Strings" configuration section matches.
- Exclude Quoted Strings
...
- - This configuration section may be used to enter specific text segments or regular expressions to exclude from the translation. For each piece of text (segments), the system looks for the texts or regular expression patterns entered in this configuration section.
...
- If a text/pattern matches, then it is possible to mark the segment as either translatable or not translatable.
...
-
- Include or Exclude Additional Content
...
- - This configuration section may be used to specify regular expressions to extract text inside code (Javascript, etc.).
...
- The regular expressions are not limited to quoted strings but can capture anything. The regex MUST contain capture groups named "pattern1", "pattern2", etc. Example: @(?<pattern1>.*?)@ will extract any text delimited by "@".
HTML Tags and Attributes Tab
...