Jump to content

Lince

Members
  • Posts

    9
  • Joined

  • Last visited

Lince's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Here is the solution: https://www.prestashop.com/forums/topic/878576-how-to-add-expressions-to-a-module/
  2. Hello, I found that the bank wire module is missing some expressions. Is there any tutorial explaining how to add new expressions ? Or can anybody explain how to do it ? File missing expressions for this template: modules/ps_wirepayment/views/templates/hook/payment_return.tpl This are the translation files: app/Resources/translations/es-ES/ModulesWirepaymentShop.es-ES.xlf app/Resources/translations/en-US/ModulesWirepaymentShop.en-US.xlf Only two expressions are defined: <source>Your order on %s is complete.</source> <source>Please send us a bank wire with:</source> And a few of them are missing: {l s='Please specify your order reference %s in the bankwire description.' sprintf=[$reference] d='Modules.Wirepayment.Shop'}<br/> {l s='We\'ve also sent you this information by e-mail.' d='Modules.Wirepayment.Shop'} {l s='Your order will be sent as soon as we receive payment.' d='Modules.Wirepayment.Shop'} {l s='If you have questions, comments or concerns, please contact our [1]expert customer support team[/1].' d='Modules.Wirepayment.Shop' sprintf=['[1]' => "<a href='{$contact_url}'>", '[/1]' => '</a>']} Thank you.
  3. If the expressions have not been defined, it is not possible to translate them using the backoffice.
  4. Is this something you have to fix in the translation or can we fix it ? Thanks.
  5. Those expressions have not been translated. I opened a thread asking how to translate those sentences as they do not exist in the translation file. I posted some more information here: https://www.prestashop.com/forums/topic/875699-expressions-missing-in-bank-wire-module/
  6. Hello, There seem to be some expressions missing from the bank wire module in this file: modules/ps_wirepayment/views/templates/hook/payment_return.tpl Only two expressions are defined: <source>Your order on %s is complete.</source> <source>Please send us a bank wire with:</source> And a few of them are missing: {l s='Please specify your order reference %s in the bankwire description.' sprintf=[$reference] d='Modules.Wirepayment.Shop'}<br/> {l s='We\'ve also sent you this information by e-mail.' d='Modules.Wirepayment.Shop'} {l s='Your order will be sent as soon as we receive payment.' d='Modules.Wirepayment.Shop'} {l s='If you have questions, comments or concerns, please contact our [1]expert customer support team[/1].' d='Modules.Wirepayment.Shop' sprintf=['[1]' => "<a href='{$contact_url}'>", '[/1]' => '</a>']} Is there a way for me to add this expressions ? I was going to modify the translations file: app/Resources/translations/es-ES/ModulesWirepaymentShop.es-ES.xlf But I see there is some "trans-unit id" which I don't know what it is or how to fill it. Thanks.
  7. Hello, There seem to be some expressions missing from the bank wire module in this file: modules/ps_wirepayment/views/templates/hook/payment_return.tpl Only two expressions are defined: <source>Your order on %s is complete.</source> <source>Please send us a bank wire with:</source> And a few of them are missing: {l s='Please specify your order reference %s in the bankwire description.' sprintf=[$reference] d='Modules.Wirepayment.Shop'}<br/> {l s='We\'ve also sent you this information by e-mail.' d='Modules.Wirepayment.Shop'} {l s='Your order will be sent as soon as we receive payment.' d='Modules.Wirepayment.Shop'} {l s='If you have questions, comments or concerns, please contact our [1]expert customer support team[/1].' d='Modules.Wirepayment.Shop' sprintf=['[1]' => "<a href='{$contact_url}'>", '[/1]' => '</a>']} Is there a way for me to add this expressions ? I was going to modify the translations file: app/Resources/translations/es-ES/ModulesWirepaymentShop.es-ES.xlf But I see there is some "trans-unit id" which I don't know what it is or how to fill it. Thanks.
×
×
  • Create New...