Translate payment plugin hikashop in Joomla 3?

  • Posts: 11
  • Thank you received: 1
11 years 7 months ago #103652

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

Please Log in or Create an account to join the conversation.

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
11 years 7 months ago #103658

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,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 1
11 years 7 months ago #103669

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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 7 months ago #103710

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.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 1
11 years 7 months ago #104105

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!

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
11 years 7 months ago #104396

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.

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 7 months ago #104730

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.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 1
11 years 7 months ago #104784

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 ;-)

Please Log in or Create an account to join the conversation.

  • Posts: 846
  • Thank you received: 92
11 years 4 months ago #117226

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)

Last edit: 11 years 4 months ago by lionel75.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 4 months ago #117266

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 :

$element->payment_name='ePay';
$element->payment_description='You can pay by credit card or epay using this payment method';

Last edit: 11 years 4 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum