Reading list Switch to dark mode

    Magento 2 Multi-Country Language Popup

    Updated 28 June 2022


    Multi-country language Popup, the users get familiar with those stores which provide a homely experience. To find something in your native language gives an advanced experience to the users.

    Magento 2 Multi-country language popup facilitates the user to choose his desired country. Afterward, the country and the store view will change. The admin can configure the module at their end and it reflects on the frontend.

    Check a brief overview of the plugin –



    • The admin can enable/disable the search bar.
    • The user can view the list of countries in the popup.
    • Once the user chooses his country currency will automatically change according to the category.
    • The admin can create different categories for different currencies.
    • The popup will not close until the user will select the store view.
    • The user can view the country name in their native language.
    • The admin can create multiple store views according to country and also restrict the countries from the backend.

    Install Extension from Webkul Store

    #1 Download Module

    Firstly, you need to log in to Webkul Store, go to My Account>My Purchased Products section, verify and then download and extract the contents of this zip folder on the system.

    #2 Upload Folder

    Once the module zip is extracted, follow path src>app and then copy the app folder into the Magento 2 root directory on the server as shown below:

    Start your headless eCommerce
    Read More

    #3 Run Commands

    After uploading the module folder, you need to run the following commands in the Magento 2 root directory:

    • php bin/magento setup:upgrade
    • php bin/magento setup:di:compile
    • php bin/magento setup:static-content:deploy
    • php bin/magento indexer:reindex
    • php bin/magento cache:flush

    Install Extension from Magento Marketplace

    If you have purchased this extension from the Magento Marketplace then please follow the below process or visit this link.

    #1 Get Access Keys

    You need to get access keys, navigate to My Profile in Magento Marketplace, then choose Access Keys in the My Products section.


    Go to Magento 2 and then you need to copy both the Access Keys – Public Key and Private Key. These access keys will be needed in the next steps for authentication.


    If access keys are not created earlier, click Create A New Access Key, enter any name and click OK.


    #2 Update composer.json File

    To know the component name and version number, go to your Magento Marketplace account section, My Profile>My Purchases, then find this extension to view the details.

    Please note – Below is an example image, every extension will have its unique component name and version.


    After that, navigate to your Magento project directory and update your composer.json file in the following format.

    composer require <component-name>:<version>

    For example, to install version 4.0.0 of this extension you need to run the following command:

    composer require webkul/multi-country-language:4.0.0

    #3 Enter Access Keys

    Now you will need to enter the Access Keys that you obtained as explained in the first step #1 Get Access Keys. Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.

    #4 Run Command

    You need to run the following commands:

    • php bin/magento setup:upgrade
    • php bin/magento setup:di:compile
    • php bin/magento setup:static-content:deploy
    • php bin/magento indexer:reindex
    • php bin/magento cache:flush

    Language Translation

    For translating the module language, navigate through src/app/code/Webkul/MultiCountryLanguagePopup/i18n and edit the en_US.csv file.

    Thereafter, rename the CSV as “en_SA.csv” and translate all right side content after the comma in the Arabic language. After editing the CSV, save it.

    Then upload it to the path src/app/code/Webkul/MultiCountryLanguagePopup/i18nwhere the Magento2 is installed on the server. The module gets translated into the Arabic Language. It supports both RTL and LTR languages.


    Multi-Lingual Support

    For multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options.

    After that, select the locale as English (United States) (the language into which the admin wants to translate his store content).

    Multi-country Language Popup-local_settings

    Module Configuration

    Now, after successfully installing the Magento 2 Multi-country Language Popup module the admin needs to Go Store > setting > configuration > Multi-country language as per the following image. Furthermore, the admin needs to configure the settings.

    Multi-country Language Popup_popup_settings

    General settings:

    Enable Homepage Indicator: The admin needs to allow the permission of the indicator to display the countries banner.

    Pop-up Settings:

    Popup Heading: The admin can set the heading for the popup which displays to the customers.

    Enable Search on popup: The admin can enable/disable the country selection popup.

    Thereafter, once the configuration is done from settings admin needs to set the country settings.

    Country Language Settings

    The admin can add multiple countries from the backend and it will be reflected at the customer’s end.

    Multi-country Language Popup_backend

    Thereafter, the admin can add a new country language according to the store requirements as per the following image:

    Multi-country Language Popup_addnew

    Here, the admin needs to fill following details to configure countries.

    Enable Country: The admin needs to enable the country for the popup.

    Select Country: The admin will select the country from the dropdown.

    Store view: Admin needs to select the store view for that particular country.

    Select website: Here, the admin will choose the website for the particular store or country.

    Thereafter, The admin can perform the bulk action by selecting the countries, Where they can Delete, active, and deactivate the countries in bulk mode.

    Multi-country Language Popup_country_action

    Customer end:

    Once the setup is done from the admin’s end the user can view the feature on the website. Where the customer can choose the country and store view will change accordingly.


    Thereafter, the customer needs to select the desired country to proceed further.


    If the customer chooses USA (Native language is English) as displayed in the image and the currency will change automatically.


    Furthermore, If a customer chooses any other country currency will change according to the category as shown in the above image currency is in AFN because the chosen country is Afghanistan.


    If the customer selects a different country that uses a different language apart from English (Chooses Saudi Arabia that uses the Arabic language) store view will change accordingly.

    That’s all for the Magento 2 Multi-Country Language Popup. So if you still have any doubts or suggestions, feel free to add a ticket.

    Moreover, let us know your views to make the extension better

    Current Product Version - Version 4.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*

    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content