- Posts: 205
- Thank you received: 12
PayPal plugin translation question
5 years 7 months ago #331299
by liaskas
PayPal plugin translation question was created by liaskas
-- HikaShop version -- : 4.4.1
-- HikaMarket version -- : 4.0.0
-- Joomla version -- : 3.9.25
-- PHP version -- : 7.4.16
Hello
On the vendor paypal payment method creation form, we need to translate some field labels.
For example:
We need to translate the field label Name for example, but only in the paypal payment plugin. Not all the other payment plugins (banktransfer, check etc)
We do not use any 3d party component on our site.
Thank you
-- HikaMarket version -- : 4.0.0
-- Joomla version -- : 3.9.25
-- PHP version -- : 7.4.16
Hello
On the vendor paypal payment method creation form, we need to translate some field labels.
For example:
We need to translate the field label Name for example, but only in the paypal payment plugin. Not all the other payment plugins (banktransfer, check etc)
We do not use any 3d party component on our site.
Thank you
Please Log in or Create an account to join the conversation.
5 years 7 months ago #331304
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic PayPal plugin translation question
Hello,
You want to edit the value of
When
Regards,
You want to edit the value of
Code:
$this->main_form['payment_name']['name']
$this->main_form['payment_description']['name']
Code:
$this->type == 'payment' && $this->name == 'paypaladaptive'
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
5 years 7 months ago #331306
by liaskas
Replied by liaskas on topic PayPal plugin translation question
Thank you Jerome
What file do i have to edit and what is the exact change i need to make the label name be like HIKA_PAYPAL_PLUGIN_FIELD_LABEL_NAME so that i can use the language files to set the appropriate translations?
Thank you
What file do i have to edit and what is the exact change i need to make the label name be like HIKA_PAYPAL_PLUGIN_FIELD_LABEL_NAME so that i can use the language files to set the appropriate translations?
Thank you
Please Log in or Create an account to join the conversation.
5 years 7 months ago #331337
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic PayPal plugin translation question
Hello,
Oh sorry, I forget the view name ; it's "pluginsmarket / form" view.
You need to put the value of the translation key (HIKA_PAYPAL...) in the variables that I gave you. The first one is for the "name" and the second is for the "description" field.
Regards,
Oh sorry, I forget the view name ; it's "pluginsmarket / form" view.
You need to put the value of the translation key (HIKA_PAYPAL...) in the variables that I gave you. The first one is for the "name" and the second is for the "description" field.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
5 years 7 months ago #331338
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic PayPal plugin translation question
If you want to have some tips regarding the view to edit ; don't forget the HIkaShop setting "display view files" !
www.hikashop.com/support/documentation/5...g.html#advanced_main
Regards,
www.hikashop.com/support/documentation/5...g.html#advanced_main
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.075 seconds