Unable to translate custom attributes in admin backend #13250
Labels
Fixed in 2.3.x
The issue has been fixed in 2.3 release line
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Preconditions
A custom attribute is created.
We have different frontend labels for the attribute. Store views with different locale settings exist.
Admin users are speaking different languages and need a localized attribute label.
Steps to reproduce
Create an custom attribute with different frontend labels.
Expected result
There are two possible results:
A user can see the specific frontend label of the selected store-view. This could be a problem e.g. the user speaks french and the assigned locale of the store view is in another language.
The default frontend label can be translated e.g. with the Magento translation functions. This needs a i18n language file or that we can use the inline translation in admin backend.
Actual result
The default frontend label is used.
Have a look into this method:
\Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::setupAttributeMeta
.At least the translation function should be used:
The text was updated successfully, but these errors were encountered: