Copying attribute localization
Why use it
If your project has several content languages, you fill in attributes separately for each language. The copy function transfers attribute values from one language to another automatically, so you don't have to enter them by hand.
It helps when:
- You filled in attributes in one language and want to use the same values as a starting point for the others.
- You need to quickly pre-fill language versions before handing them to a translator.
- The attributes store numeric or technical values (SKUs, prices, article numbers) that are the same in every language.
Where it's available
The localization copy button is on the edit page of a record that has attributes, in these modules:
- Catalog: catalog items (products)
- Pages: website pages
- Blocks: content blocks
- Forms: forms
- Admins: administrators
- Users: user groups
- Templates: templates (in Settings)
How to copy attribute values
- Open the document for editing.
- Click the copy icon (Copy data to other languages) in the bar above the tabs. The Copy data between languages dialog opens.
- In Source language, select the language to copy from. It defaults to the current content language.
- In Languages to copy to, select the target languages. Select all and Deselect all select or clear every language at once.
- In Attributes, keep selected the attributes whose values you want to copy. All of them are selected when the dialog opens.
- In Localized Fields, keep selected the record's own localized fields, such as its title, that you also want to copy. All of them are selected when the dialog opens.
- If needed, select Do not overwrite values: values are then written only to empty fields in the target languages.
- Click Copy and confirm.
When copying succeeds, a "Data successfully copied" notification appears, and the values from the source language show up in the selected target languages.
List, radio button, and entity attributes store their values in the attribute itself and are localized separately. In the dialog, such attributes have a hint and a link to the attribute's edit page: copy their values there (see below).
Without Do not overwrite values, copying overwrites existing values in the target languages, and this can't be undone. With it, only empty fields are filled in.
Copying for an attribute set or an attribute
- On the attribute set edit page, the Copy attribute data to other languages button copies attribute data to every entity that uses the set. Copying runs as a background task, and a "Copying task queued" notification appears.
- On the attribute edit page, the Copy values to other languages icon copies the attribute's own values and settings to the selected languages: title and description, list values, validators, and additional fields.