gympass/localization-updater

some description

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
localization_api_hostthe localization-api host to be called for getting translationsyes
translation_formatformat: flat or levelsyes
translation_folderfolder where translation files must be createdyes
translation_folder_overwritewhether to overwrite pre-existing translations folder or notfalse
translation_filenamename of the translation file to be created (aplies only for single translation file)auto_gen_translations.json
individual_locale_fileswhether to create one file per locale or a single file with all localesfalse
branch_prefixthe name of the branch with new translation filesauto_gen_translations
commit_changeswhether to commit the new translations files to the git repository or nottrue
commit_messagea commit messageno
create_branchwhether to create a new branch with translations or nottrue
main_branch_namethe name of the main branch. Default name is mastermaster
namespacethe translations namespace in localization serviceyes
featurethe feature to be get from the translation keysyes
separatora character or string to be used as separator of the parts of the keysno
omit_key_first_levelwhether to omit the first part of the key name, which is specified in the feature parameter, or notno
on_error_bypassWhether to finish the execution of the script with success, even it fails, or notno

no outputs