LasseSJ Posted April 29, 2013 Share Posted April 29, 2013 (edited) Hi. I use Presta 1.54 and I'm new at this. I really can't figure out where to translate the "bank wire" text under the payment option in front office. Help!! Thank you. BR Lasse Edited May 1, 2013 by LasseSJ (see edit history) Link to comment Share on other sites More sharing options...
Dave L Posted April 30, 2013 Share Posted April 30, 2013 Hi. I use Presta 1.54 and I'm new at this. I really can't figure out where to translate the "bank wire" text under the payment option in front office. Help!! Thank you. BR Lasse Hi, I'm going from memory as I'm not at my PC but in BO go to Localization>Translations. Then in the dropdown at the top select Installed Module Translations, select your theme and click on the language flag. It's a big list but luckily Bank Wire is near the top. Just find the text you want to change and type in the alternative text in the adjacent field and then save. Link to comment Share on other sites More sharing options...
LasseSJ Posted April 30, 2013 Author Share Posted April 30, 2013 Hi there. No, I can't find BANKWIRE anywhere in "translations". When I go to installed modules, only about 15 show up. What to do? Thanks, Lasse Link to comment Share on other sites More sharing options...
Dave L Posted April 30, 2013 Share Posted April 30, 2013 Hi there. No, I can't find BANKWIRE anywhere in "translations". When I go to installed modules, only about 15 show up. What to do? Thanks, Lasse Hi, Yes, with 1.5.4 there is a bug in the AdminTranslationsController.php file which prevents the remaining modules showing. I had this and there are some post about it on this forum. I just had a look and can't find it now. However, I have attached a copy of the updated file that I used on 1.5.4 if you would like to try it. Go to your /controllers/admin folder and rename the AdminTranslationsController.php file to something like AdminTranslationsController_old.php and than upload the attached file. If it doesn't work on your installation you can simply delete the file and change the renamed file back again. The problem has been fixed in 1.5.4.1 AdminTranslationsController.php Link to comment Share on other sites More sharing options...
LasseSJ Posted April 30, 2013 Author Share Posted April 30, 2013 Thanks. I still have this shown: "bankwire" as payment method in an order:-( See pic. What to do? /Lasse Link to comment Share on other sites More sharing options...
Dave L Posted April 30, 2013 Share Posted April 30, 2013 There are two occurrences of Bank Wire. The very first one in bankwire expressions and another in payment_execution expressions. When in the translations use your Ctrl F search, use Bank Wire for the search term and keep clicking Next until you find the Bank Wire expression. Link to comment Share on other sites More sharing options...
vekia Posted April 30, 2013 Share Posted April 30, 2013 you should check all module .tpl files for string you want to translate, just open the files and find string you want Link to comment Share on other sites More sharing options...
LasseSJ Posted April 30, 2013 Author Share Posted April 30, 2013 Ciao. I tried looking in payment_execution.tpl (BANKWIRE module), but there doesn't seem to be any text just: "bankwire" that I can translate. Everything is translated except when a customer Places an order and afterwards click "my account" to se previous orders. Under payment method it says "bankwire" - that's the only one that hasn't been translated:-(( See Picture I attached in top of this thread. BR Lasse Link to comment Share on other sites More sharing options...
vekia Posted April 30, 2013 Share Posted April 30, 2013 hey i checked attached image.You've got right. this "bank wire" comes from databse, you've got it in table: ps_order in payment field value of this depends on payment module name. If you want to change "Bank Wire" - go to the modules/bankwire/bankwire.php youve got there: $this->displayName = $this->l('Bank Wire'); and this is this string value. After selectig payment method this value is added to the ps_order -> payment field in your database 1 Link to comment Share on other sites More sharing options...
LasseSJ Posted May 1, 2013 Author Share Posted May 1, 2013 Hi. I changed the module name now as you wrote in bankwire.php. But still it doesn't change the payment method chosen (as you see in the picture I attached in the first thread). There must be some other place where I can change this? BR Lasse Link to comment Share on other sites More sharing options...
vekia Posted May 1, 2013 Share Posted May 1, 2013 ... After selectig payment method this value is added to the ps_order -> payment field in your database... so in this case, only new orders will have got correct value. If you want to change it in already placed orders, you have to do it manually in the database. field by field. create new order, select bank wire payment method and then you will see new value Link to comment Share on other sites More sharing options...
LasseSJ Posted May 1, 2013 Author Share Posted May 1, 2013 Yes, great. Thank you! Link to comment Share on other sites More sharing options...
vekia Posted May 1, 2013 Share Posted May 1, 2013 happy that this is solved. Anyway, i've got question, i've noticed that you created many threads related to the translations. in prestashop 1.5.4.0 is a bug with translations, but it is fixed in 1.5.4.1 maybe update or reinstall it? Link to comment Share on other sites More sharing options...
LasseSJ Posted May 1, 2013 Author Share Posted May 1, 2013 Hi. I managed the translations so far. I have edited some of the main files of Prestashop, how can I update without taking no risk? thanks Link to comment Share on other sites More sharing options...
Omk Posted September 23, 2014 Share Posted September 23, 2014 Vekia, I guess this fix that you gave above deals with the module name, but it will be universal for all languages. I would need to make the name appear in all languages, translated. Such as:Bank transfer (EN) Girering (SE)Überweisung (DE)Bankoverførsel (DA) Overschrijving (NL) Is there a way to do this, or does one have to accept that it will be in only one language? Link to comment Share on other sites More sharing options...
Recommended Posts