- Posts: 11
- Thank you received: 1
Translate payment plugin hikashop in Joomla 3?
13 years 5 months ago #103652
by nielsg
Translate payment plugin hikashop in Joomla 3? was created by nielsg
Hi there,
i would like to translate the banktransfer plugin in hikashop.. but.. i need joomfish for this?
Only joomfish is not released for joomla 3... so what other options are there? Create a copy of the plugin?
Hope someone has an idea..
thanks
Niels
i would like to translate the banktransfer plugin in hikashop.. but.. i need joomfish for this?
Only joomfish is not released for joomla 3... so what other options are there? Create a copy of the plugin?
Hope someone has an idea..
thanks
Niels
Please Log in or Create an account to join the conversation.
13 years 5 months ago #103658
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Translate payment plugin hikashop in Joomla 3?
Hi,
You want to translate what element ?
You can already change some elements in the plugin configuration without using an external extension.
After that, if you want a specific display or some specific text, you can create a copy of the plugin in order to customize it.
Otherwise, Joomfish is not compatible with J3 but Falang is.
Regards,
You want to translate what element ?
You can already change some elements in the plugin configuration without using an external extension.
After that, if you want a specific display or some specific text, you can create a copy of the plugin in order to customize it.
Otherwise, Joomfish is not compatible with J3 but Falang is.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #103669
by nielsg
Replied by nielsg on topic Translate payment plugin hikashop in Joomla 3?
Hi Jerome,
i try to translate the description of the bank-transfer plugin. (which i will later manipulate based on zone)
I've tried making a copy of the plugin, but without succes..
In my copy the specific fields don't show up., .. do i just create a new name for the copy of the plugin in the xml file, zip it and install it, or what should be changed in order for it to work..?
now when i install the copy and publish it, it's succesfull but the plugin doesn't show up on the checkout page. Also the plugin is missing some fields in the backend.. so i guess something goes wrong..
thnks for your time
Niels
i try to translate the description of the bank-transfer plugin. (which i will later manipulate based on zone)
I've tried making a copy of the plugin, but without succes..
In my copy the specific fields don't show up., .. do i just create a new name for the copy of the plugin in the xml file, zip it and install it, or what should be changed in order for it to work..?
now when i install the copy and publish it, it's succesfull but the plugin doesn't show up on the checkout page. Also the plugin is missing some fields in the backend.. so i guess something goes wrong..
thnks for your time
Niels
Please Log in or Create an account to join the conversation.
13 years 5 months ago #103710
by nicolas
Replied by nicolas on topic Translate payment plugin hikashop in Joomla 3?
Hi,
There is no need to change the code of the plugin.
Simply install Falang and you will be able to translate the description via the interface like for the rest of the other content of HikaShop.
There is no need to change the code of the plugin.
Simply install Falang and you will be able to translate the description via the interface like for the rest of the other content of HikaShop.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #104105
by nielsg
Replied by nielsg on topic Translate payment plugin hikashop in Joomla 3?
Yes, but i allready set the site up in a normal joomla multilangual site. With all the copied content, menu's, modules,.. etc..
I will have to figur out how to have this work together.
thnks for the tip!
I will have to figur out how to have this work together.
thnks for the tip!
Please Log in or Create an account to join the conversation.
13 years 5 months ago #104396
by Hátle
Replied by Hátle on topic Translate payment plugin hikashop in Joomla 3?
Hello,
I have similar problem
I have joomla 3 site with joomla core translations
I'm using articles to show products and Hikashop product tag insertion plugin
Only what i need to translate is payment and shipping info
I can't make the falang driver work, everytime when switched on i got some 500 error on articles with wrong SQL syntax
Please would be there a workaround how to translate the payment & shipping titles and descriptions ?
Maybe it would be possible to use language files and put JText:: into the payment php plugin files ?
Thank you very much for any help.
I have similar problem
I have joomla 3 site with joomla core translations
I'm using articles to show products and Hikashop product tag insertion plugin
Only what i need to translate is payment and shipping info
I can't make the falang driver work, everytime when switched on i got some 500 error on articles with wrong SQL syntax
Please would be there a workaround how to translate the payment & shipping titles and descriptions ?
Maybe it would be possible to use language files and put JText:: into the payment php plugin files ?
Thank you very much for any help.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #104730
by nicolas
Replied by nicolas on topic Translate payment plugin hikashop in Joomla 3?
Hi,
Falang is working fine on our end with Joomla 3.0.
I would recommend you to contact Falang's support if you have a bug with it that can be fixed easily, especially if it's a SQL error.
Translating the texts of payment and shipping plugins with code modification is potentially possible. The problem is that you will have to edit the code a bit everywhere... In the cart file of the view checkout, in the status file of the view checkout, in the invoice file of the order view, in the show file of the view order, ...
While with Falang, it's handled automatically and much simpler to setup as you can do it directly via the interface.
Falang is working fine on our end with Joomla 3.0.
I would recommend you to contact Falang's support if you have a bug with it that can be fixed easily, especially if it's a SQL error.
Translating the texts of payment and shipping plugins with code modification is potentially possible. The problem is that you will have to edit the code a bit everywhere... In the cart file of the view checkout, in the status file of the view checkout, in the invoice file of the order view, in the show file of the view order, ...
While with Falang, it's handled automatically and much simpler to setup as you can do it directly via the interface.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #104784
by nielsg
Replied by nielsg on topic Translate payment plugin hikashop in Joomla 3?
Hey,
i ended up copying the western Union plugin, and changing the title in all the php files..
Falang works like joomfhish.. and overules the 'new' joomla translation setup.
So if you want to use falang, you have to "undo" the translation of the site, or (i think) make sure all content is set to language "all".
anyway.. a lot of work for just one payement plugin translation
i ended up copying the western Union plugin, and changing the title in all the php files..
Falang works like joomfhish.. and overules the 'new' joomla translation setup.
So if you want to use falang, you have to "undo" the translation of the site, or (i think) make sure all content is set to language "all".
anyway.. a lot of work for just one payement plugin translation
Please Log in or Create an account to join the conversation.
13 years 3 months ago - 13 years 3 months ago #117226
by lionel75
Replied by lionel75 on topic Translate payment plugin hikashop in Joomla 3?
I have already translate a website in french and english using joomfish ( with bug in it !!) .
does the translation of Description form in every Payment plug-in ll behave like
a content form / title ....of joomla article refer to joomfish ?
i studies and see at this time that some component use an xml file to map column name translation with joomfish ( never study module or plug in ) .Does this kind of file is need , is the way to go and already exist for Hikashop payment plugin translation ?
here a kind a xml file ( with wrong syntax )
<joomfish type="contentelement">
.... <name>Hikashop</name>
....<author> name_author</author>
....<version> </version>
.... <description>Definition for the Hikashop payement plugin </description>
....<reference>
.... .... <table name="hikashop_payment">
.... .... .... .... <field type="text" name="payment_description" translate="1">ID</field>
.... .... </table>
.... </reference>
</joomfish>
thank's for any clue .... for joomla 2 ( or 3)
does the translation of Description form in every Payment plug-in ll behave like
a content form / title ....of joomla article refer to joomfish ?
i studies and see at this time that some component use an xml file to map column name translation with joomfish ( never study module or plug in ) .Does this kind of file is need , is the way to go and already exist for Hikashop payment plugin translation ?
here a kind a xml file ( with wrong syntax )
<joomfish type="contentelement">
.... <name>Hikashop</name>
....<author> name_author</author>
....<version> </version>
.... <description>Definition for the Hikashop payement plugin </description>
....<reference>
.... .... <table name="hikashop_payment">
.... .... .... .... <field type="text" name="payment_description" translate="1">ID</field>
.... .... </table>
.... </reference>
</joomfish>
thank's for any clue .... for joomla 2 ( or 3)
Last edit: 13 years 3 months ago by lionel75.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 3 months ago - 13 years 3 months ago #117266
by Mohamed Thelji
Replied by Mohamed Thelji on topic Translate payment plugin hikashop in Joomla 3?
Hi,
I think that the XML file will be used for the plugin installation, but regarding the "default" payment method name and description, they will be set through the php file of your payment methods, for example for the ePay payment method, the default name and desription will be set in the epay.php file through these lines :
I think that the XML file will be used for the plugin installation, but regarding the "default" payment method name and description, they will be set through the php file of your payment methods, for example for the ePay payment method, the default name and desription will be set in the epay.php file through these lines :
Code:
$element->payment_name='ePay';
$element->payment_description='You can pay by credit card or epay using this payment method';
Last edit: 13 years 3 months ago by Mohamed Thelji.
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds