Read More
Read More
Menu Close

    How to add translation.csv in magento2

    Magento-Code-Snippet-5-2

    To add translation csv file in magento2, you just need to add a folder named:

    i18n” inside your module’s folder, i.e.

    app/code/Webkul/Test/i18n

    Then create a csv file with name of language code.

    Searching for an experienced
    Magento 2 Company ?
    Read More

    forexample:

    for english (United state) => en_US.csv

    french (canada)=>fr_CA.csv

    Inside csv file you just need to add words which you want to translate, in following manner:

    “<word in english language>”,”<word in language to convert>”

    for example:

    Screenshot_1

    Now, define your word at place of use:

    . . .
    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