Two Smartling workflows
Hyperlocalise supports two Smartling integrations:- Native sync mode with
i18n.ymlplussync push/sync pull - Flag-driven file commands with
hyperlocalise smartling ...
--project-id and --file-uri. See smartling for commands, flags, credential env vars, and the gap list versus official smartling-cli. Hyperlocalise does not read smartling.yml yet.
Native sync mode
Required config
Required secret
userSecret inline in config is not supported. Use environment variables only.
Optional config fields
targetLanguagestimeoutSeconds(defaults to30)mode—strings(default) orfilesfileURI— required whenmodeisfilesfileFormat— required whenmodeisfiles(for examplejson)
Modes
strings: pull and push using Smartling string APIs.files: pull and push using Smartling file download/upload APIs.
Files mode config example
Common issues
- missing secret: export
SMARTLING_USER_SECRETin the same shell session (native sync and file commands). Officialsmartling-cliusesSMARTLING_SECRET; Hyperlocalise does not read that name. - missing user identifier: set
storage.config.userIdentifier, or for file commandsSMARTLING_USER_IDENTIFIER/--user-id(not officialSMARTLING_USER_ID) - locale mismatch: align
targetLanguageswith your project locales - file mode import failure: verify
fileFormatmatches your project settings

