JSPM

  • Created
  • Published
  • Downloads 299
  • Score
    100M100P100Q95834F
  • License MIT

The official Strapi Plugin by Localazy.

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

    1. Sign up & Upload your content to Localazy.
    2. 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.
    3. 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:

    1. Copy the whole contents.
    2. Paste it into ./src/plugin/localazy folder of your project (path from project root).
    3. Create ./config/plugins.js file (path from project root).
    4. Add the following contents to ./config/plugins.js file:
    module.exports = {
      localazy: {
        enabled: true,
        resolve: "./src/plugins/localazy",
        config: {
          default: () => {},
          validator: () => {},
        },
      },
    };
    1. 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