Supported File Types

MadCap Flare ZIP Package

 

Extension .zip
Smartling Identifier flare
Example File flare.zip
Resources MadCap Flare software 

Smartling supports Madcap Flare

A MadCap Flare package is a ZIP-archive with HTML, Javascript, and image files, optionally organized in directories. A MadCap Flare ZIP archive is treated as a single file. Translated strings in the archive will be associated with the .zip file, not the individual HTML files.

Non-HTML files in the archive are excluded from processing.

Directory structure and non-HTML files are preserved when downloading the translated archive.

Directive

Format

smartling.[directive_name] = [value]

 

flare_madcap_tags_as_inline

Values on|yes|true|off|no|false
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.
This is off by default.
Examples smartling.flare_madcap_tags_as_inline = on

Any <external_link> or <reference> tags will be parsed as inline tags. Smartling will not create separate strings for content in these tags.

 

whitespace_trim

Values 

on|yes|true or off|no|false or leading|trailing

The default value is on

Description 

A whitespace is any character or series of characters that represent horizontal or vertical space in typography. When rendered, a whitespace character is not a visible mark, but does occupy an area or space on a page.

Although whitespaces are necessary within a string (typically to separate words), unnecessary whitespaces can be found at the start of a string (leading) and at the end of a string (trailing).

With this directive, you can trim whitespaces, as it enables or disables whitespace trim management for the ingested strings.

By default, the leading and trailing whitespaces are trimmed.

You can choose to disable trimming or specify trimming for leading or trailing whitespaces.

The directive can be used inline or as the API request parameter.

Examples 

smartling.whitespace_trim=on

Smartling will trim leading and trailing whitespaces (default)

smartling.whitespace_trim=off

Smartling will not trim leading or trailing whitespaces

smartling.whitespace_trim=leading

Smartling will trim only leading whitespaces

smartling.whitespace_trim=trailing

Smartling will trim only trailing whitespaces

Was this article helpful?