- Posts: 640
- Thank you received: 16
How to hide the translations on the countries dropdown
- PeterChain
-
Topic Author
- Offline
Less
More
9 years 2 weeks ago #278220
by PeterChain
How to hide the translations on the countries dropdown was created by PeterChain
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.0
-- PHP version -- : 7.1
Hello,
When using Hikashop and selecting the countries dropdown, I see the country english name and the original name.
For example, Spain (España).
I want to show only the english name (without the original language translation). There's some way to hide the other part of the text?
Thanks in advance,
--
Víctor
-- Joomla version -- : 3.7.0
-- PHP version -- : 7.1
Hello,
When using Hikashop and selecting the countries dropdown, I see the country english name and the original name.
For example, Spain (España).
I want to show only the english name (without the original language translation). There's some way to hide the other part of the text?
Thanks in advance,
--
Víctor
Please Log in or Create an account to join the conversation.
9 years 2 weeks ago #278224
by Jerome
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.
Replied by Jerome on topic How to hide the translations on the countries dropdown
Hello,
That is handle directly by the HikaShop core (the field class) with the code
So if you want to remove the name of the country ; you'll have to edit an HikaShop core file (which is not recommended) or you can edit the countries to change their "zone_name" with the content of the "zone_name_english".
Regards,
That is handle directly by the HikaShop core (the field class) with the code
Code:
if($zone->zone_name_english != $zone->zone_name){
$title.=' ('.$zone->zone_name.')';
}
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.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
9 years 2 weeks ago #278413
by PeterChain
Replied by PeterChain on topic How to hide the translations on the countries dropdown
Ok, thanks for the fast answer.
--
Víctor
--
Víctor
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds