Description
Preconditions:
Magento 2.4-develop
Php v 7.3
Steps to reproduce
- Enable FPT in admin; (Go to Admin->Stores->Configuration->Sales->Tax->Fixed Product Taxes);
- Change translate to FPT
FPT,FPT(translate)
for example (app/code/Magento/Weee/i18n/en_US.csv); - Create simple product with FPT attribute and set value for it;
- Go to Storefront;
- Add created before the product to Cart;
- Go to Shopping Cart;
✔️ The FPT has been translated
7. Proceed to Checkout;
8. Fill all required fields and go to Review&Payment step;
Actual Result:
Expected Result:
✔️ The FPT must be translated
I try to translate the text 'FPT' in the checkout page but nothing seems to work:
I try with a language pack in app/i18n/Vendor/nl_nl/nl_NL.csv
(the rest of the translations of this pack work so it is loaded):
"FPT","Verwijderingsbijdrage",module,Magento_Weee
"Magento_Weee::FPT","Verwijderingsbijdrage",module,Magento_Weee
I try with the file app/design/frontend/Vendor/Theme/i18n/nl_NL.csv
:
"FPT","Verwijderingsbijdrage"
"Magento_Weee::FPT","Verwijderingsbijdrage"
I try with the file app/code/Magento/Weee/i18n/nl_NL.csv
:
FPT,Verwijderingsbijdrage
I try by adding an entry to the 'translation'-table in the database (even had to manually check the crc_string):
key_id string store_id translate locale crc_string
2 FPT 0 Verwijderingsbijdrage nl_NL 1575739609
All with no success.
I'm running out of options. Is there any spot I missed where I need to put my translation? Can anyone confirm / try if the text 'FPT' in the checkout/cart page is translatable?