Jump to content

Translation of payment module


lexus1990

Recommended Posts

Hello! In the translation of the same payment module i have:

 

$_MODULE['<{robokassa}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Ваш заказ с';
$_MODULE['<{robokassa}prestashop>robokassa_f61b20c41c181a190fa93ae2f7d8d9b3'] = 'Позволяет принимать оплату через Робокассу';

Where i can get hash 2e2117b7c81aa9ea6931641ea2c6499f to translation of my module and what does it mean 'confirmation' or 'robokassa'? It means method or class where a can use this translation?

 

Link to comment
Share on other sites

it is best to just modify the translation to suit your need from the back office-->localization-->translations

 

select installed modules-->Core (no theme selected)-->language

 

when you xlate then the proper xlate files are created.

 

hope that was the info you were looking for.

Link to comment
Share on other sites

I write the new payment module. So i can't modify anything. I neet to write my own module translation

 

actually you don't.  You create module in 'a' language, let's say English, this assuming you using correct syntax for native ps to pick up that language.  Then using the back office translation, you xlate to 'other' languages.  When completed xlations you then include those xlations into your module zip.

Link to comment
Share on other sites

  • 2 weeks later...

actually you don't.  You create module in 'a' language, let's say English, this assuming you using correct syntax for native ps to pick up that language.  Then using the back office translation, you xlate to 'other' languages.  When completed xlations you then include those xlations into your module zip.

 

hi, my module has a file override (adminProductsController.php) and the translation doesn't work in new installations...how should I do it?

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