How to customize checkout page by country with Shopify

Issue

This Content is from Stack Overflow. Question asked by Apoorva Singh

enter image description hereI am trying to customize checkout page according to country for my store Can you please help.
I am trying to using following code:

{% if localization.country.iso_code == 'FR' %}
Yeyi French
{% else %}
English
{% endif %}

but on checkout it keep showing English even I have tried to change the location through VPN.



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?