Jump to content

Difference between Translation under localization menu and translation from module configuration


PA

Recommended Posts

Hi,

 

I translated a module from the Localization->Translate and saved it, and now the module text appears translated, as expected. But I noticed a translation issue, so in the module configuration I clicked on the language to fix my translation, but from there no text is translated, while when I go back to the Localization->Translate the translation is ok.

 

This module has some language files in the folder (my language file is missing) so I went to the theme folder, and copied the language file to the module, but I still have the same behavior.

 

So, my question is what is the difference between both translation methods, and why do I have the translation in one place but not on the other?

 

I noticed tough that the links for the translations are a bit different:

From Localization->Translate:

http://mydomain.com/admin/index.php?controller=AdminTranslations&token=159f804d1765f96816d397192e9d9cf4&conf=4&lang=pt&type=modules&theme=default

From the module:

http://mydomain.com/admin/index.php?tab=AdminTranslations&token=159f804d1765f96816d397192e9d9cf4&type=modules&lang=pt#googlesnippet

The main differences are the use of controller vs tab and the 1st one contains the theme...

 

I'm using Prestashop v1.5.4.1, using the default theme.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

HI, how are you translating the module using your second method? The best way to translate module fields are in the Localization>Translation>Installed Module Translations.

Thanks Benjamin. In fact I found the answer to my question. I never noticed in Localization>Translation>Installed Module Translations, the drop down box had Core (no theme selected) besides the available themes, so translating in the Core section is the same as translating by pressing the country flag from the module configuration. And if there are translations in the theme, these will be used instead the core ones (in front office and back office).

 

Btw, can you have a look at my other question (http://www.prestasho...in-subscribers/).

Edited by PA (see edit history)
Link to comment
Share on other sites

  • 2 months later...

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