What it copies
- Products: name, description, tags, meta title, meta description, meta keywords and the texts of the specifications (attributes).
- Categories: name, description and meta texts.
- Information pages: title, text and meta texts.
- Attribute groups and attributes, options and option values, filter groups and filters: their names.
- Every text column your OpenCart version has is found by itself, so text fields added by OpenCart 4 are copied too.
How it copies
- Choose the language to copy from and tick the languages to copy into.
- A language entry that is missing is added as a copy of the source entry.
- In an entry that is there, only EMPTY fields are filled. Text that is already there stays as it is, so your translations are safe. A description that only holds the editor's empty paragraph counts as empty.
- "Also replace text that is already there" overwrites the target texts with the source (for a language with no translations yet). It asks before it starts.
- An empty source field never empties a target field, not even when replacing.
- All products, the products in one category (with the categories below it), or a list of product IDs.
Check, copy, undo
- "Check" shows, per table and per language, how many entries would be added and how many fields filled, and changes nothing.
- "Copy" works with a few database queries per table, so thousands of products take seconds, not minutes.
- "Undo the last copy" puts back every field the last copy changed, exactly as it was, and removes the entries it added. A copy that changed nothing keeps the undo of the copy before it.
- The source language is never changed.
Safe
- Copying and undo need the Modify permission of this extension; Check needs Access.
- The undo copy is kept in system/storage/upload and removed when you uninstall the module.
How it was tested
OpenCart 2.3.0.2, 3.0.5.1, 4.0.2.3 and 4.1.0.4, installed through the real admin installer. Each version passed the same automated checks: every entry of the ten tables added to a new language byte for byte, empty fields filled while own text stays, the editor's empty paragraph, replace, an empty source never emptying a target, product IDs, a category with the categories below it, undo of an add, a fill and a replace back to the exact earlier state, the source language unchanged, permissions, and uninstall. The page was also used in a browser on 4.1 with German and French added.
Good to know
- The copied text is still in the source language: it fills the gaps so no page shows empty, and you translate it at your pace. For machine translation see Supreme AI Product Content.
- Undo restores the last copy only. Edits made in the same fields after that copy are replaced by the old text when you undo.
Not included
For OpenCart 2.3, 3.0, 4.0 and 4.1. A ready package for each version is included.
- SEO keywords: they must be different in every language, so they are not copied.
- Downloads, order and stock statuses, length and weight units and the other short lists OpenCart keeps per language.