The Strapi localization plugin by Localazy allows you to sync your content with Localazy and translate it with available tools. You can manage your language versions separately in Localazy and import new content for translation as you add it seamlessly without manual copypasting or file importing.
Prerequisites 🔗
- Make sure you are running the project on Strapi v4.0 or above.
- Ensure that the Internationalization (i18n) plugin is installed (should be pre-installed on Strapi from v3.6.0).
- Create a Localazy account.
Installation 🔗
Strapi Marketplace 🔗
Recommended: Get the plugin following the steps in the Strapi Marketplace: https://market.strapi.io/plugins/@localazy-strapi-plugin
Install plugin via NPM 🔗
The plugin can also be installed via NPM.
Use the plugin in a clean project locally 🔗
Besides installing the plugin via npm
, it can also be used in a project locally. Assuming the user has a (clean) Strapi project set up, do:
- Copy the whole contents.
- Paste it into
./src/plugin/localazy
folder of the 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: () => {},
},
},
};
- Build and run the project. The plugin will be available in the admin.
Support 🔗
- If you encounter any issues or have questions, please contact us at [email protected].
- Join the Localazy Discord to discuss all things regarding localization.