Jump to content

Problems translating a module in PS 1.6


anggilb

Recommended Posts

Good morning,

I am developing a multilanguage module for prestashop 1.6 and more versions.

At this moment I have a E2E environment to test this with Docker, Jest and Puppeteer, and all good but I have a little problem.

Each time that I execute the tests the system do the next steps:

  • Do the site multistore and create the store 2.
  • Install the French language, apply this language in the store 2 and in the backoffice.
  • Install my module in the store 2.
  • ...
  • Uninstall my module.
  • Uninstall the language.
  • Uninstall the multistore.

Each time that I execute this serie, my file it´s deleted.

modules/mymodule/translations/fr.php 

I revised the Github project and in the original modules these folders doesn´t contain language files. But I revise some third modules and this files exists.

I considered the original documentation, but don´t help me enougth:

https://devdocs.prestashop.com/1.7/modules/creation/module-translation/classic-system/

I founded for especific documentation, but I didn´t see nothing.

Thanks in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...