The Official Strapi Localization Plugin by Localazy
Strapi localization doesn't have to be a headache! Install the Strapi localization plugin and seamlessly translate your content into multiple languages with Localazy.
Manage your multilingual content with ease
- 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.
Setup
Install the plugin via NPM
The plugin is available on NPM.
You can also follow the installation commands located in your Strapi project Marketplace. This is the recommended approach.
npm install @localazy/strapi-plugin
Use the plugin in a clean project locally
Besides installing the plugin via npm
, you can also use it in a project locally. Assuming you have a (clean) Strapi project set up, do:
- Copy the whole contents.
- Paste it into
./src/plugin/localazy
folder of your project (path from project root). - Create
./config/plugins.js
file (path from project root). - Add the following contents to
./config/plugins.js
file:
module.exports = {
localazy: {
enabled: true,
resolve: "./src/plugins/localazy",
config: {
default: () => {},
validator: () => {},
},
},
};
- Run the project. The plugin will be available in the admin.
Tests
To run tests, run the npm run test
command. To watch tests, run the npm run test:watch
command.
Additional Resources
Support