- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
PrestaShop 1.6.x How to display full language name instead of its ISO code (and vice versa) in the language switcher
March 24, 2016
PrestaShop 1.6.x How to display full language name instead of its ISO code (and vice versa) in the language switcher
This tutorial will show you how to display full language name instead of its ISO code in the language switcher of your PrestaShop website:

Access your server using any FTP software of FileManager provided by your host.
Navigate to /themes/themeXXXX/modules/blocklanguages/ directory where XXXX is the number of your theme:
Open ‘blocklanguages.tpl’ file for editing. Locate the following code:
{$language.iso_code}Replace {$language.iso_code} with {$language.name|regex_replace:"/\s.*$/":""};
You should get the following result:
{$language.name|regex_replace:"/\s.*$/":""}We’ve successfully changed ISO code to full language name in the language folder:
In order to change full language name to ISO code back, simply revert the changes done to ‘blocklanguages.tpl’ file.
Feel free to check the detailed video tutorial below:
PrestaShop 1.6.x How to display full language name instead of its ISO code (and vice versa) in the language switcher