You can convert translated files between different formats by including conversion
section in your localazy.json
file.
You can also filter content, change how plurals and string arrays are stored, convert files to multilingual ones, etc.
The conversion
section behaves similarly to the download
section and you can use the same variables.
If you need to convert between different file types on upload, refer to Type Remapping.
Running conversions #️⃣
Conversions are processed along with downloading when localazy download
is invoked.
If you only need to perform conversions, you can omit the download
section in your configuration file.
Also, you can use groups to process download/conversions separately.
Full configuration #️⃣
{
"conversion": {
"folder": ".",
"excludedLangs": ["cs", "de"],
"actions": {
"group": "conversion",
"stop": false,
"conditions": [ ... ],
"changeExtension": "xml",
"output": "path/${lang}/${file}",
"type": "json",
"keySeparator": ".",
"includeKeys": ["REGEX:key_.*"],
"excludeKeys": ["REGEX:private_.*"],
"replacements": {
"%d": "{{placeholder}}",
"REGEX:\\(([a-Z]+))": "{{(%1%)}}"
},
"langAliases": {
"zh-Hant-TW": "zh-TW"
},
"langExpansions": {
"de": ["de-DE", "de-CH"]
},
"arrayType": "array_br",
"pluralType": "plural_icu",
"forceArrayType": false,
"forcePluralType": true,
"filterStrings": false,
"filterArrays": false,
"filterPlurals": false,
"params": {
"variable": "COUNT"
}
}
}
}
Field | Default | Description |
---|---|---|
folder |
. | The base folder all operations are relative to. It can be a relative or absolute path. |
excludedLangs |
[] | The list of languages to exclude from processing. |
actions.group |
— | Allows to filter rules using groups. See groups for more information. |
actions.stop |
false | If true, no more rules are processed for the given file. Only makes sense if more output rules are defined. By default, all rules are processed (contrary to the download section). |
actions.conditions |
[] | Allows for more complex filtering of rules. See conditions for more details. |
actions.changeExtension |
— | If defined, change the extension of the output file. Applied to the final output after resolving all variables. |
actions.output |
— | The pattern for generating output path and file. Use variables to build the pattern. |
actions.type |
required | The type of the conversion to be performed with files. See below for available types and their parameters. |
actions.keySeparator |
. | The separator used for building structured keys for includeKeys and excludeKeys . See excluding string keys for more details. |
actions.includeKeys |
[] | A list of rules for determining keys to include. See excluding string keys for more details. |
actions.excludeKeys |
[] | A list of rules for determining keys to exclude. See excluding string keys for more details. |
actions.replacements |
{} | Define rules for text changes and placeholder replacements. Please see the dedicated chapter below. |
actions.langAliases |
— | Maps languages to different codes. |
actions.langExpansions |
— | Adds additional languages to output; the same file will be saved several times. |
actions.arrayType |
— | If the type supports more formats for string arrays, you can select the desired one with this parameter. See the Array types section for each format below. |
actions.pluralType |
— | If the type supports more formats for plurals, you can select the desired one with this parameter. See the Plural types section for each format below. |
actions.forceArrayType |
false | If the conversion is made between types that support the same format for string arrays, the format is retained unless you explicitly set this parameter to true to force change. |
actions.forcePluralType |
false | If the conversion is made between types that support the same format for plurals, the format is retained unless you explicitly set this parameter to true to force change. |
actions.filterStrings |
null | If the conversion type allows filtering, you can enable this option to filter strings out of the output file. |
actions.filterArrays |
null | If the conversion type allows filtering, you can enable this option to filter string arrays out of the output file. |
actions.filterPlurals |
null | If the conversion type allows filtering, you can enable this option to filter plurals out of the output file. |
actions.params |
{} | Additional parameters for the conversion type, plural and array formats. See the Parameters section for each format below. |
Multiple conversion rules #️⃣
You can use an array for actions
to provide more conversion rules.
{
"conversion": {
"actions": [
{
"type": "android",
"output": "path/to/android/files/${lang}/${file}"
},
{
"type": "ios-strings",
"output": "path/to/ios/files/${lang}/${file}"
}
]
}
}
When more rules are defined, each of the files goes through all of them.
You can store all or some of the converted files in multiple locations. When using more rules, conditions and stop are useful concepts.
How conversion works #️⃣
- Your files are downloaded from our servers.
- Each of the files goes through all the conversion rules.
- Rules with conditions evaluated to
false
are skipped. - When the rule is valid (conditions are evaluated to
true
) and stop istrue
, no more rules are processed. - If the rule is valid, converted file is requested from the server and stored to the desired location.
Example conversion #️⃣
{
"conversion": {
"actions": {
"group": "convert-files",
"output": "converted/${file}",
"conditions": "startWith: ios_, ${file}",
"changeExtension": "json",
"type": "json-multilingual",
"pluralType": "plural_icu",
"forcePluralType": true,
"filterArray": true,
"params": {
"variable": "COUNT"
}
}
}
}
- The example code above is executed only when
localazy download convert-files
command is invoked. - It applies only to files with name starting with
ios_
. - Files are converted to multilingual JSON and stored to
converted/${file}
. - The extension for such files is changed to json, so e.q.
ios_main_menu.xml
is stored asios_main_menu.json
. - All plurals are forced to be in
plural_icu
format with the variable beingCOUNT
(specified byparams
). - All string arrays are filtered out.
Text changes & placeholder replacements #️⃣
Using actions.replacements
, you can replace text while converting your files. It’s a convenient way how to adapt, e.q., placeholders and platform-specific texts.
All the replacement rules are applied to all texts.
There are two different ways how to define rules:
Simple replacements #️⃣
"replacements": {
"source": "target"
}
Replace substrings source
to target
. The replacement is case-sensitive.
Regex replacements #️⃣
"replacements": {
"REGEX:pre-(.*)-fix": "target: (%1%)"
}
Replace substrings matching regex pattern pre-(.*)-fix
with target: (%1%)
where (%1%)
is special placeholder that references matched group from the regex.
You can use (%1%)
, (%2%)
, … to use matched groups in the replacement. You can use (%0%)
to use the whole matching substring.
You can use (%i%)
for zero-based and (%o%)
for one-based index of the replaced text. E.g., using something like "REGEX:...": "$(%o%)%s"
, you can replace placeholders for Android strings XML making them positional.
Important note #️⃣
Stored files overwrite any of existing files. Be careful!
Test before storing #️⃣
Run the Localazy CLI with parameter -s
to output the list of files that are about to be written. This way, you are sure everything is stored correctly, and you are not about to mess your project.
The parameter -s
switches CLI to the simulation mode – everything is processed as usual, but the output files are not written to disk.
Available conversions #️⃣
android
- Convert to Android XMLarb
- Convert to Flutter ARBcsv
- Convert to CSV/TSVcsv-multilingual
- Convert to multilingual CSV/TSVexcel
- Convert to Excel (.xls/.xlsx)excel-multilingual
- Convert to multilingual Excel (.xls/.xlsx)ini
- Convert to INIini-multilingual
- Convert to multilingual INIios-strings
- Convert to iOS’s .stringsios-stringsdict
- Convert to iOS’s .stringsdictjson
- Convert to JSONjson-mozilla
- Convert to Mozilla i18n JSONjson-multilingual
- Convert to multilingual JSONmo
- Convert to Gettext MO fileneon
- Convert to Nette Neonneon-multilingual
- Convert to multilingual Nette Neonods
- Convert to OpenOffice (.ods)ods-multilingual
- Convert to multilingual OpenOffice (.ods)php
- Convert to PHPphp-multilingual
- Convert to multilingual PHPpo
- Convert to Gettext PO filetmx
- Convert to Translation Memory (TMX)toml
- Convert to TOMLtoml-multilingual
- Convert to multilingual TOMLxcstrings
- Convert to XCode Strings Catalogxliff12
- Convert to XLIFF 1.2xliff20
- Convert to XLIFF 2.0yaml
- Convert to YAMLyaml-multilingual
- Convert to multilingual YAMLyaml-rails
- Convert to Rails i18n YAML
Detailed information #️⃣
android | Convert to Android XML #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
force_underscore
- Force underscore character even for dots (.
).no
[default] - Don’t use underscore character for dotsyes
- Use underscore characters for dots
escape_new_lines
- Escape new lines with\n
.no
[default] - Use standard line breaksyes
- Escape new lines with\n
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
arb | Convert to Flutter ARB #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
flatten_keys
- Flattening structured keysno
- Don’t flatten structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
arb_locale
- Generating @@locale keynone
- Don’t generate @@localelang
- Generate @@locale with language code onlyfull
[default] - Generate @@locale with full locale
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
- Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
[default] - Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
csv | Convert to CSV/TSV #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
encoding
- Output file encodingauto
[default] - Automaticutf8
- UTF-8utf16
- UTF-16utf16le
- UTF-16LEutf16be
- UTF-16BEansi
- ANSI ASCII
delimiter
- Column delimitercomma
[default] - Use COMMA as as delimitersemicolon
- Use SEMICOLON as a delimitertab
- Use TAB as a delimiter
quotes
- Quotesdouble
[default] - Use double quotessingle
- Use single quotesbackslash
- Use backslashes
force_quotes
- Force quotestrue
- Force quotes for all valuesfalse
[default] - Only quote values if necessary
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
csv-multilingual | Convert to multilingual CSV/TSV #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
encoding
- Output file encodingauto
[default] - Automaticutf8
- UTF-8utf16
- UTF-16utf16le
- UTF-16LEutf16be
- UTF-16BEansi
- ANSI ASCII
delimiter
- Column delimitercomma
[default] - Use COMMA as as delimitersemicolon
- Use SEMICOLON as a delimitertab
- Use TAB as a delimiter
quotes
- Quotesdouble
[default] - Use double quotessingle
- Use single quotesbackslash
- Use backslashes
force_quotes
- Force quotestrue
- Force quotes for all valuesfalse
[default] - Only quote values if necessary
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
excel | Convert to Excel (.xls/.xlsx) #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
excel-multilingual | Convert to multilingual Excel (.xls/.xlsx) #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
excel_type
- Excel file formatxlsx
[default] - New OpenDocument XML format (Excel 2007+)xls
- Old XLS format (Excel 2003 and below)
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
ini | Convert to INI #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
force_escaping
- Forcing aggressive escaping.true
- Force escapingfalse
[default] - Don’t force unnecessary escaping
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
encoding
- Output file encodingauto
[default] - Automaticutf8
- UTF-8utf16
- UTF-16utf16le
- UTF-16LEutf16be
- UTF-16BEansi
- ANSI ASCII
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
ini-multilingual | Convert to multilingual INI #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
force_escaping
- Forcing aggressive escaping.true
- Force escapingfalse
[default] - Don’t force unnecessary escaping
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
encoding
- Output file encodingauto
[default] - Automaticutf8
- UTF-8utf16
- UTF-16utf16le
- UTF-16LEutf16be
- UTF-16BEansi
- ANSI ASCII
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
ios-strings | Convert to iOS’s .strings #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
encoding
- Output file encodingauto
[default] - Automaticutf8
- UTF-8utf16
- UTF-16utf16le
- UTF-16LEutf16be
- UTF-16BE
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
ios-stringsdict | Convert to iOS’s .stringsdict #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, tmx, toml, xcstrings, yaml
Parameters
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the file.false
[default] - Use the source language translation for the untranslated phrases.
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
- strings are filtered out
- arrays are filtered out
Required parameters
variable
- Variable name for plural structure (VARIABLE, COUNT, …)
json | Convert to JSON #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
json-mozilla | Convert to Mozilla i18n JSON #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
json-multilingual | Convert to multilingual JSON #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
mo | Convert to Gettext MO file #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
encoding
- Output file encodingauto
[default] - Automaticutf8
- UTF-8utf16
- UTF-16utf16le
- UTF-16LEutf16be
- UTF-16BE
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
neon | Convert to Nette Neon #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
neon-multilingual | Convert to multilingual Nette Neon #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
ods | Convert to OpenOffice (.ods) #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
ods-multilingual | Convert to multilingual OpenOffice (.ods) #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrases.true
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
php | Convert to PHP #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
php-multilingual | Convert to multilingual PHP #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
po | Convert to Gettext PO file #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
encoding
- Output file encodingauto
[default] - Automaticutf8
- UTF-8utf16
- UTF-16utf16le
- UTF-16LEutf16be
- UTF-16BE
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
tmx | Convert to Translation Memory (TMX) #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterPlurals
is available- arrays are filtered out
toml | Convert to TOML #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
toml-multilingual | Convert to multilingual TOML #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
xcstrings | Convert to XCode Strings Catalog #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterPlurals
is available- arrays are filtered out
xliff12 | Convert to XLIFF 1.2 #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
xliff20 | Convert to XLIFF 2.0 #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
flatten_keys
- Flattening structured keysdot
[default] - Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
yaml | Convert to YAML #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
yaml-multilingual | Convert to multilingual YAML #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
lang_format
- Format of the locale used for multilingual keysll-rr-scrp
[default] - LL, LL-RR, LL-SCRP, LL-RR-SCRPll-rr#scrp
- LL, LL-RR, LL#SCRP, LL-RR#SCRPll_scrp_rr
- LL, LL_RR, LL_SCRP, LL_SCRP_RRll_rr_scrp
- LL, LL_RR, LL_SCRP, LL_RR_SCRPll+rr+scrp
- LL, LL+RR, LL+SCRP, LL+RR+SCRPll+scrp+rr
- LL, LL+RR, LL+SCRP, LL+SCRP+RRll-scrp_rr
- LL, LL_RR, LL-SCRP, LL-SCRP_RRlocale_name
- Locale name (English, German, …)bcp
- b+LL, b+LL+RR, b+LL+SCRP, b+LL+SCRP+RRandroid_noscript
- LL, LL-rRR, LL, LL-rRRandroid
- LL, LL-rRR, b+LL+SCRP, b+LL+SCRP+RR
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param:
yaml-rails | Convert to Rails i18n YAML #️⃣
Supported input formats
android, api, arb, csv, excel, hjson, ini, ios-plist, ios-strings, ios-stringsdict, js, json, json5, neon, ods, php, po, properties, qt-ts, resx, text, tmx, toml, xcstrings, yaml
Parameters
xcstrings_keep_structure
- Keeping iOS Strings Catalog structured keys.true
- Keep key structurefalse
[default] - Convert structure to plain keys
filter_untranslated
- Filtering of untranslated phrasestrue
- Filter untranslated phrases out of the filefalse
[default] - Use the source language translation for the untranslated phrases
clear_params
- Clearing additional phrases metadata.true
- Clear all additional phrase metadatafalse
[default] - Keep additional phrase metadata, except for those changed for plurals/arrays
flatten_keys
- Flattening structured keysno
[default] - Don’t flatten structured keysdot
- Flatten structured keys with.
underscore
- Flatten structured keys with_
dash
- Flatten structured keys with-
Filtering options
filterStrings
is availablefilterArrays
is availablefilterPlurals
is available
Array types
array
[default] - Output string-array as arrayarray_br
- Output string-array as keys suffixed by[index]
Plural types
plural_postfix_br
[default] - Output plurals as keys suffixed by[pluralForm]
plural_postfix_sd
- Output plurals as keys suffixed by.pluralForm
plural_postfix_dd
- Output plurals as keys suffixed by:pluralForm
plural_postfix_us
- Output plurals as keys suffixed by_pluralForm
plural_postfix_cc
- Output plurals as keys suffixed byPluralForm
plural_i18next
- Output plurals in i18Next formatplural_object
- Output plurals as structured objectplural_icu
- Output plurals in ICU message format- Required param:
variable
- Variable name for ICU message (count, variable, etc.)
- Required param:
plural_array
- Output plurals as array of objects- Required param:
type
- Key used for storing the plural type - Required param:
content
- Key used for storing the translation
- Required param: