TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ovolab/fastlane-plugin-ovo_poeditor/llms.txt
Use this file to discover all available pages before exploring further.
ovo_poeditor_strings action fetches the latest localization terms from POEditor and writes them to disk in the format your project requires. It accepts 11 parameters extracted directly from the action source, covering authentication, project targeting, output configuration, and platform-specific export options. Required parameters must always be supplied; optional parameters refine export behaviour and can be omitted when their defaults are sufficient.
Your POEditor API token. A read-only token is recommended to limit the blast radius of accidental exposure. Set via the
POEDITOR_API_TOKEN environment variable.The numeric identifier of your POEditor project. Found in the POEditor dashboard URL or project settings. Set via the
POEDITOR_PROJECT_ID environment variable.An array of BCP 47 language codes to export, for example
["en", "fr", "it"]. Each code must match a language enabled in your POEditor project. When using the xcstrings format, passing a single code is sufficient — POEditor exports all project languages into one file. Set via the POEDITOR_LANGUAGES environment variable.The directory on disk where localized output files will be written. The plugin creates any intermediate directories automatically. Set via the
POEDITOR_OUTPUT_DIR environment variable.The filename to use for the exported localization file, for example
Localizable.strings or strings.xml. The same name is used for every language. Set via the POEDITOR_FILE_NAME environment variable.Controls which export format the plugin requests from the POEditor API. Must be one of
xcstrings, apple_strings, or android_strings. See File Formats for the full breakdown of each option. Set via the POEDITOR_EXPORT_FILE_FORMAT environment variable.The language code that represents the project’s default or base language. For
android_strings exports, this language is written to the values/ folder instead of a values-{lang}/ subfolder. Set via the POEDITOR_DEFAULT_LANGUAGE environment variable.A mapping from POEditor language codes to platform-specific folder name suffixes. Useful when your project uses locale qualifiers that differ from POEditor’s codes, for example
{ "pt-br" => "pt-rBR" } for Android. This parameter has no corresponding environment variable and must be passed directly in the Fastfile. See Language Mapping for examples.When set to
1, the plugin requests an unquoted export from POEditor for android_strings. Accepted values are 0 (quoted, the default) and 1 (unquoted). Any other value raises a validation error before the action runs. Set via the POEDITOR_UNQUOTED_STRINGS environment variable.When
true, the plugin ignores the default_language check when building output paths for android_strings. Every language is written to a values-{lang}/ subfolder, even the language that matches default_language. Set via the POEDITOR_BYPASS_DEFAULT_LANGUAGE environment variable.A mapping of language codes to fallback language codes. When a translation is missing for a given language, POEditor falls back to the specified language before returning an empty string. Example:
{ "fr-CA" => "fr" }. Set via the POEDITOR_FALLBACK_LANGUAGES environment variable.Return Value
Theovo_poeditor_strings action does not return a Ruby value to the Fastlane lane. Its side effect is the localization file written to disk at the path derived from output_dir, file_format, and file_name. On success, Fastlane logs a confirmation message for each language that was downloaded. On failure, the action logs an error and continues without blocking the rest of the lane.
Platform Support
Theovo_poeditor_strings action is platform-agnostic. Its is_supported? method returns true for every Fastlane platform, including iOS, Android, and macOS. You can call it from any lane regardless of which platform block it lives in.
Usage Example
The following Fastfile snippet shows a minimal, working invocation for an iOS project using theapple_strings format.
Fastfile
xcstrings examples, see the Quickstart guide or the individual format guides under File Formats.