0

I am new to magento 2, I created an admin module. In this module the text what we entered in admin content. It reflects on the frontend. But the problem is if we change the language to other than english. The text is still displaying to english only. In CMS Pages it has a dropdown to select the language. I want to have over. here.

1 Answer 1

0

You must defind language file csv at i18n directory. Examble: you want use japan language, you must have file ja_JP.csv at i18n directory. i18n directory => can each module or theme ... More information:

http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/translations/xlate.html

Hope it will help you

1
  • Thanks for your reply but I am already having my language csv but still cant able to translate it. While creating cms pages will getting one dropdown like store view. How to approach that in my custom module is my question.
    – Rising
    Commented Dec 14, 2016 at 9:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.