[Skip to main content](#vessel-content)

#   the translation of plugin

##

- **[likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")**
- [![likunzhou's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36539-likunzhou "View likunzhou's Profile") Topic Author
- [ Offline](/forum/user/36539-likunzhou)

Less More

- Posts: 49
- Thank you received: 0
-
-

11 years 6 months ago [\#202125](#202125) by [likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")  *[the translation of plugin](/forum/20-market-feature-requests/877039-the-translation-of-plugin#202125 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.9  Hi~ I've allowed our vendors could set thire own payment and shipping plugin. However, not all of our vendors know English well. How can I translate those names of these plugin? Thank you~")* was created by *[likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")*

-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.2
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.9

Hi~
I've allowed our vendors could set thire own payment and shipping plugin. However, not all of our vendors know English well. How can I translate those names of these plugin?
Thank you~

[ ![shipping.png](/forum/attachment/24464) ](/forum/attachment/24464 "shipping.png")

[ ![payment.png](/forum/attachment/24465) ](/forum/attachment/24465 "payment.png")

- [ ![shipping.png](/forum/attachment/24464) ](/forum/attachment/24464 "shipping.png") [ ](/forum/attachment/24464?download=1 "shipping.png")
- [ ![payment.png](/forum/attachment/24465) ](/forum/attachment/24465 "payment.png") [ ](/forum/attachment/24465?download=1 "payment.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3NzAzOS10aGUtdHJhbnNsYXRpb24tb2YtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 6 months ago -  11 years 6 months ago [\#202160](#202160) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[the translation of plugin](/forum/20-market-feature-requests/877039-the-translation-of-plugin#202160 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.9  Hi~ I've allowed our vendors could set thire own payment and shipping plugin. However, not all of our vendors know English well. How can I translate those names of these plugin? Thank you~")*

Hi,

In the view "pluginmarket &#124; add", please replace Code:

echo $row-&gt;name;

Into Code:

$translation_key = 'PLG_HIKASHOP'.strtoupper($this-&gt;plugin_type).'_'.strtoupper($row-&gt;element); if($translation_key != JText::_($translation_key)) echo JText::_($translation_key); else echo $row-&gt;name;

It will allow you to translate the plugin names by creating translations like Code:

PLG_HIKASHOPSHIPPING_MANUAL="Manual shipping" PLG_HIKASHOPSHIPPING_UPS="UPS shipping" PLG_HIKASHOPPAYMENT_BANKTRANSFER="Bank transfer"

We will add that patch in the next HikaMarket release.

Regards,

---

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

Last edit: 11 years 6 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: fix

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3NzAzOS10aGUtdHJhbnNsYXRpb24tb2YtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")**
- [![likunzhou's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36539-likunzhou "View likunzhou's Profile") Topic Author
- [ Offline](/forum/user/36539-likunzhou)

Less More

- Posts: 49
- Thank you received: 0
-
-

11 years 6 months ago [\#202181](#202181) by [likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")  Replied by *[likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")* on topic *[the translation of plugin](/forum/20-market-feature-requests/877039-the-translation-of-plugin#202181 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.9  Hi~ I've allowed our vendors could set thire own payment and shipping plugin. However, not all of our vendors know English well. How can I translate those names of these plugin? Thank you~")*

Hi

thank you for your response, However, I do not know coding very much
Could you tell me which file should I edit and the translations should be added in zh-CN.com_hikamarket.ini right?

BTW, when will the next HikaMarket release?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3NzAzOS10aGUtdHJhbnNsYXRpb24tb2YtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#202186](#202186) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[the translation of plugin](/forum/20-market-feature-requests/877039-the-translation-of-plugin#202186 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.9  Hi~ I've allowed our vendors could set thire own payment and shipping plugin. However, not all of our vendors know English well. How can I translate those names of these plugin? Thank you~")*

Hi,

Like I wrote in my previous message, the view is the view "pluginmarket &#124; add".
To edit a view, please see:
* [ www.hikashop.com/support/support/documen...-display.html#layout](http://www.hikashop.com/support/support/documentation/153-customize-the-display.html#layout)
* [ www.hikashop.com/support/documentation/i...op-view-listing.html](http://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/43-hikashop-view-listing.html)
* [ www.hikashop.com/support/documentation/i...ashop-view-form.html](http://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/44-hikashop-view-form.html)

Thanks for the view editor in HikaShop, you will be able to edit the HikaMarket view and replace the line I gave by the 5 lines.

Once you have override the view, you will be able to add your translations overrides.
See: [ www.hikashop.com/download/languages.html#modify](http://www.hikashop.com/download/languages.html#modify)
In the HikaShop (and HikaMarket) configuration, you can manage the languages and you have a special zone where you can add your translation overrides.

About the new HikaMarket release my goal is to publish it end of this week.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3NzAzOS10aGUtdHJhbnNsYXRpb24tb2YtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")**
- [![likunzhou's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36539-likunzhou "View likunzhou's Profile") Topic Author
- [ Offline](/forum/user/36539-likunzhou)

Less More

- Posts: 49
- Thank you received: 0
-
-

11 years 6 months ago [\#202247](#202247) by [likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")  Replied by *[likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")* on topic *[the translation of plugin](/forum/20-market-feature-requests/877039-the-translation-of-plugin#202247 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.9  Hi~ I've allowed our vendors could set thire own payment and shipping plugin. However, not all of our vendors know English well. How can I translate those names of these plugin? Thank you~")*

Hi

I've followed what you said, however, the language can not display
I added these code both in hikashop and market language files in the configuration Code:

PLG_HIKASHOPSHIPPING_AUSTRALIAPOST="澳洲邮政" PLG_HIKASHOPSHIPPING_CANADAPOST="加拿大邮政" PLG_HIKASHOPSHIPPING_CANPAR="CANPAR" PLG_HIKASHOPSHIPPING_ENVOIMOINSCHER="EnvoiMoinsCher" PLG_HIKASHOPSHIPPING_FEDEX=" Fedex联邦快递" PLG_HIKASHOPSHIPPING_MANUAL="UPS" PLG_HIKASHOPSHIPPING_UPS="USPS" PLG_HIKASHOPSHIPPING_USPS="其他快递邮寄"

however, It displays this in front

[ ![plugin.png](/forum/attachment/24484) ](/forum/attachment/24484 "plugin.png")

- [ ![plugin.png](/forum/attachment/24484) ](/forum/attachment/24484 "plugin.png") [ ](/forum/attachment/24484?download=1 "plugin.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3NzAzOS10aGUtdHJhbnNsYXRpb24tb2YtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#202283](#202283) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[the translation of plugin](/forum/20-market-feature-requests/877039-the-translation-of-plugin#202283 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.9  Hi~ I've allowed our vendors could set thire own payment and shipping plugin. However, not all of our vendors know English well. How can I translate those names of these plugin? Thank you~")*

Hi,

My fault !
I fixed the code in my previous post to replace the line Code:

echo $translation_key;

By Code:

echo JText::_($translation_key);

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3NzAzOS10aGUtdHJhbnNsYXRpb24tb2YtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")**
- [![likunzhou's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36539-likunzhou "View likunzhou's Profile") Topic Author
- [ Offline](/forum/user/36539-likunzhou)

Less More

- Posts: 49
- Thank you received: 0
-
-

11 years 6 months ago [\#202373](#202373) by [likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")  Replied by *[likunzhou](/forum/user/36539-likunzhou "View likunzhou's Profile")* on topic *[the translation of plugin](/forum/20-market-feature-requests/877039-the-translation-of-plugin#202373 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.9  Hi~ I've allowed our vendors could set thire own payment and shipping plugin. However, not all of our vendors know English well. How can I translate those names of these plugin? Thank you~")*

Hi
It runs well now
Thank you~

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3NzAzOS10aGUtdHJhbnNsYXRpb24tb2YtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.075 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
