gympass/localization-updater
some description
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| localization_api_host | the localization-api host to be called for getting translations | yes | — |
| translation_format | format: flat or levels | yes | — |
| translation_folder | folder where translation files must be created | yes | — |
| translation_folder_overwrite | whether to overwrite pre-existing translations folder or not | — | false |
| translation_filename | name of the translation file to be created (aplies only for single translation file) | — | auto_gen_translations.json |
| individual_locale_files | whether to create one file per locale or a single file with all locales | — | false |
| branch_prefix | the name of the branch with new translation files | — | auto_gen_translations |
| commit_changes | whether to commit the new translations files to the git repository or not | — | true |
| commit_message | a commit message | no | — |
| create_branch | whether to create a new branch with translations or not | — | true |
| main_branch_name | the name of the main branch. Default name is master | — | master |
| namespace | the translations namespace in localization service | yes | — |
| feature | the feature to be get from the translation keys | yes | — |
| separator | a character or string to be used as separator of the parts of the keys | no | — |
| omit_key_first_level | whether to omit the first part of the key name, which is specified in the feature parameter, or not | no | — |
| on_error_bypass | Whether to finish the execution of the script with success, even it fails, or not | no | — |
Outputs
no outputs