strapi-plugin-copy-locales

1.0.1 • Public • Published

Strapi Plugin Copy Locales

A Strapi plugin that helps you copy content between locales in case you want to preserve content structure.
The plugin is a shorthand for changing locale and using the built-in 'Fill in from another locale' function. Moreover, you can use this plugin to override already existing entities.

Installation

# using yarn
yarn add strapi-plugin-copy-locales

# using npm
npm install strapi-plugin-copy-locales --save

Then in your config/plugins.js:

module.exports = ({ env }) => ({
  // ...
  'copy-locales': {
    config: {
      contentTypes: [
        'api::mycollection.mycollection',
        'api::mycollection2.mycollection2'
      ]
    }
  }
  // ...
});

contentTypes is the list of collection types for which you want to allow the plugin.

Readme

Keywords

none

Package Sidebar

Install

npm i strapi-plugin-copy-locales

Weekly Downloads

385

Version

1.0.1

License

MIT

Unpacked Size

27.7 kB

Total Files

30

Last publish

Collaborators

  • balazsfrey