I have added the new field in Customer navigation section near the Sign In, For that new field I need to fr_FR translation where I need to add the translation text? Those translation files are working from which file please tell me.


have you used this syntax where you put your text?

Template file:

<?php /* @escapeNotVerified */ echo __('Your text') ?>

Knockout file:

data-bind="i18n: 'Your text'"

You can installed French Language pack

Or you can Create language file at below path and add translation text. app/design/frontend/Vendor/theme/i18n/fr_FR.csv

  • I have already installed all languages translated but my custom language text is not translated that's the problem – Jeeva Chezhiyan Feb 7 '18 at 6:04
  • is rest of things are translated? – Navin Bhudiya Feb 7 '18 at 6:06
  • have u set language from admin configuration? – Navin Bhudiya Feb 7 '18 at 6:16
  • Yes rest of things translated – Jeeva Chezhiyan Feb 7 '18 at 6:22
  • I have one added one custom text that one is not translated – Jeeva Chezhiyan Feb 7 '18 at 6:23

Not tested: But You can try using fr_FR.csv under /vendor/magento/module-customer/i18n directory and check the translation.

Hope that may help you.

  • In that folder that folder I have added that text is exit but translation not working – Jeeva Chezhiyan Feb 7 '18 at 6:29
  • If I edited that existing text means that one also not coming I don't know where this text is loading – Jeeva Chezhiyan Feb 7 '18 at 6:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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