By default Smartling will create a single String for each block element in the HTML document. Additionally the value of
title attributes are captured as a single string. Smartling does not capture the values of any other attributes.
<!-- smartling.[directive_name] = [value] -->
|Values:||1. Custom regular expression (pcre)
2. NONE - disable custom placeholders
|Description:||Used to define a custom placeholder format for strings in the file. See Placeholders in Resource Files for more information.|
Any characters surrounded by square brackets will be treated as a placeholder.
|Values:||comma-separated html tag list|
|Description:||This parameter forces the html parser to treat the listed tags as inline. The difference between block and inline tags is that block tags are used to split html into strings, whereas inline tags are included in strings.|
|Values:||int - Accepted values are 0-100|
|Description:||Sets the percentage by which original strings are inflated when downloading pseudo translations. If this directive is not set, pseudo translations are 30 percent longer than the original strings.|
Downloaded pseudo translations will increase the length of original strings by 80 percent.
|Values:||Comma-separated list of HTML attributes|
|Description:||Instructs Smartling to capture the text of a list of HTML attributes for translation. For example, this can be used to capture the "title" attribute of a button.|
Will capture text in