Home Reference Source Repository

Function

Static Public Summary
public

download(filePattern: string, options: object): function

Downloads the message translations from the Smartling server.

public

upload(file: string, options: object): function

Uploads the original source content to the Smartling server.

Static Public

public download(filePattern: string, options: object): function source

Downloads the message translations from the Smartling server.

Params:

NameTypeAttributeDescription
filePattern string

The pattern indicating the target path of the downloaded files.

options object

The task options.

Return:

function

A function allowing to download the message translations.

public upload(file: string, options: object): function source

Uploads the original source content to the Smartling server.

Params:

NameTypeAttributeDescription
file string

The path to the message file.

options object

The task options.

Return:

function

A function allowing to upload the original source content.