Import options

Query param: importOptions

Import options allow you to do invoke custom logic after or during the import. Currently supported options are listed below:

  • REPLACE_TRANSLATION_IF_FOUND - replaces translation for key if the key already exists. Without this option SimpleLocalize will only add new translations.

  • PUBLISH_AFTER_IMPORT - translations will be published automatically after import

You can pass more than one import option.

Need more options? Contact us: [email protected]