Export a single locale to a language pack
GET https://localise.biz/api/export/locale/{locale}.{ext}
Various export file types are supported with format variations for some types. See supported formats.
See available export options for more detail on these parameters.
URI parameters
locale
|
Locale to export, specified as short code or language tag. e.g. |
string | required |
ext
|
Target file type specified as a file extension. See available options. |
string | required |
format
|
More specific format of file type. e.g. |
string | optional |
filter
|
Filter assets by comma-separated tag names. Match any tag with |
string | optional |
index
|
Override default lookup key for the file format: "id", "text" or a custom alias |
string | optional |
source
|
Specify alternative source locale instead of project default |
string | optional |
namespace
|
Override the project name for some language packs that use it as a key prefix |
string | optional |
fallback
|
Fallback locale for untranslated assets, specified as short code. e.g. |
string | optional |
order
|
Export translations according to asset order |
created | id
|
optional |
status
|
Export translations with a specific status or flag. Negate values by prefixing with |
string | optional |
printf
|
Force alternative "printf" style. See string formatting |
php | java | objc | icu | python
|
optional |
charset
|
Specify preferred character encoding. Alternative to |
string | optional |
breaks
|
Force platform-specific line-endings. Default is Unix (LF) breaks. |
Unix | DOS | Mac
|
optional |
no-comments
|
Disable rendering of redundant inline comments including the Loco banner. |
boolean | optional |
no-expand
|
Protect dot notation in keys so that |
boolean | optional |
collisions
|
Override the default strategy for handling conflicting keys. See key collisions. |
overwrite | ignore | fail | auto | legacy
|
optional |
no-folding
|
DEPRECATED: alias of |
boolean | optional |
key
|
API key - required if not sent in Authorization header |
string | optional |
Request headers
Authorization
|
API key sent as |
string | required if not in query |
Response
Raw string data