Is it possible to keep different translate files for different modules?

I have a large file with all translation in:


This doesn't work: app/i18n/"vendor_module"/sv_se/sv_SE.csv

Or could I put all files inside my theme directory?


You need to place your translations in the module directory directly so in your case it should be under app/code/Vendor/Module/i18n/sv_SE.csv

| improve this answer | |
  • 2
    Ok, but isn't there a risk that the translation files will be overridden when I update the module? – ineluki May 5 '17 at 9:05
  • This doesn't seem to work – Ashwani Shukla Apr 23 '18 at 6:49

You can try this one : app/i18n/sv_SE.csv

| improve this answer | |
  • Hi, yes but I rather keep the translations in different files for different modules. – ineluki Jun 15 '18 at 12:59

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.