Skip to content

2.0.7 : Can't translate FPT text on checkout/cart page #5477

Closed
@kanduvisla

Description

@kanduvisla

Preconditions:

Magento 2.4-develop
Php v 7.3

Steps to reproduce

  1. Enable FPT in admin; (Go to Admin->Stores->Configuration->Sales->Tax->Fixed Product Taxes);
  2. Change translate to FPT FPT,FPT(translate) for example (app/code/Magento/Weee/i18n/en_US.csv);
  3. Create simple product with FPT attribute and set value for it;
    Screenshot from 2020-04-30 12-05-32
  4. Go to Storefront;
  5. Add created before the product to Cart;
  6. Go to Shopping Cart;

✔️ The FPT has been translated
screenshot
7. Proceed to Checkout;
8. Fill all required fields and go to Review&Payment step;

Actual Result:

✖️ The FPT was not translated
screenshot_1

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?

Metadata

Metadata

Labels

Area: FrontendComponent: TaxComponent: TranslationFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions