This is a README for Strapi v5. For Strapi v4, please refer to the Strapi v4 README file.
npm install @localazy/strapi-plugin@latest && npx @localazy/strapi-plugin
Strapi localization doesn't have to be a headache! Install the Strapi localization plugin and seamlessly translate your content into multiple languages with Localazy.
- Sign up & Upload your content to Localazy.
- Translate your content with machine translation assistance, or let the Localazy Continuous Localization Team translate your content for you. You can also quickly pre-translate everything in bulk or invite your translators.
- Download translated content back to Strapi and feel the seamless experience of multilingual content management.
📰 Learn more in the Strapi + Localazy tutorial.
The plugin is available on NPM. You can also follow the installation commands located in your Strapi project Marketplace or Strapi Marketplace > Localazy itself. This is the recommended approach.
npm install @localazy/strapi-plugin@latest && npx @localazy/strapi-plugin
Note: Localazy plugin requires an updated bundler configuration of your Strapi project. Follow the instructions in the console output during the installation process. Steps are also available in the Install plugin via NPM section of the Localazy Docs.
Plugin supports automatic recognition of a bundler configuration. If you are using either Vite or Webpack, respectively, the plugin will automatically create an example configuration file for you.
Due to the changes in Strapi core code it's also necessary to add an environment variable to your Strapi project. Add the following line to your .env
file (value is empty):
STRAPI_ADMIN_LOCALAZY_ENV=
Additional configuration object may be provided in the plugins.js
file. The following options are available:
localazy: {
config: {
/**
* both options may help guard against DoS attacks
* if `populateMaxDepth` < 5; the Localazy Strapi Plugin may not work as expected
*/
populateDefaultDepth?: number, // default is 5
populateMaxDepth?: number, // default is 10
},
},
If you encounter any issues or have questions, feel free to contact us through whichever channel suits you best:
This project is licensed under the MIT License.
See LICENSE for details.