Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to localize the country names

How to localize the country names

Lukas25
Visitor
1 0 0

Hello, I was trying to localize the country names (instead of them displaying in English, I need them in Lithuanian). I guess the problem lies within the code but I just can't seem to find a place to change this. Even asked a support agent and they offered this but there's no item that is in the 4th point: 

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, click Actions, and then click Edit code.
  3. In the Sections directory, open [cart-template.liquid] or [cart.liquid].
  4. Find the code that generates the country selection dropdown. It usually looks something like this: {% form 'country' %}.
  5. Replace the English country names with their Lithuanian counterparts.

Can someone help me?

Lukas25_0-1705783457975.png

 

Reply 1 (1)

Liam
Community Manager
3108 344 895

Hi Lukas,

 

Where exactly on the store is this drop down appearing?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog