Skip to content

Unable to translate checkout country names #22956

@rokslavec77

Description

@rokslavec77

Summary (*)

Magento 2.3-develop
I want to be able to change the translations for the country options names that display on the checkout shipping and billing address forms. Usual translations through csv don't work.

I have found that the current translations are located in this folder: /vendor/magento/zendframework1/library/Zend/Locale/Data/
I have tried to edit the files inside (even thought its vendor), but it's still not working.

Steps to reproduce (*)

  1. Setup website, store and store view with locale mk_MK.
  2. Added translations file: app/design/frontend/Optiweb/owtheme/i18n/mk_MK.csv with content:
"Country","Country Translated"
"Северна Македонија","severna makedonija"
  1. Flushed cache.
  2. Add product to cart and go to checkout shipping address form

Expected result (*)

All will be translated

Actual result (*)

Translation works only for "Country"
actual2

Proposed solution

I think there should be a way to change this translations (csv, from admin or any other option). In our example the country on checkout is the only string that is in Cryrilic script, which is bad user experience. And also the country name changed this year to "Northern Macedonia", so we should be able to change it somehow.

Metadata

Metadata

Assignees

Labels

Component: TranslationFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: 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 developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions