Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@localazy/strapi-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
- Localazy Docs: Introduction to Strapi
- Localazy Blog: Articles about the Strapi plugin
Support
- If you encounter any issues or have questions, please contact us at team@localazy.com.
- Join the Localazy Discussion Forum to discuss all things localization.