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

#   Leave only the english names of zones

##

- **[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")**
- [![gerard&#95;pp's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile") Topic Author
- [ Offline](/forum/user/2611-gerard-pp)

Less More

- Posts: 44
- Thank you received: 0
-
-

15 years 5 months ago [\#16881](#16881) by [gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")  *[Leave only the english names of zones](/forum/4-how-to/16881-leave-only-the-english-names-of-zones#16881 "Hello,  In the registration form, i want just leave the english name of all the countries and states, removing the zone&#95;name and the parenthesis.  How can i do that?")* was created by *[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")*

Hello,

In the registration form, i want just leave the english name of all the countries and states, removing the zone_name and the parenthesis.

How can i do that?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 5 months ago [\#16887](#16887) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Leave only the english names of zones](/forum/4-how-to/16881-leave-only-the-english-names-of-zones#16887 "Hello,  In the registration form, i want just leave the english name of all the countries and states, removing the zone&#95;name and the parenthesis.  How can i do that?")*

Hi,

You have 3 solutions:
1. Set the same english name and name in your zones. The system will detect that and won't put the name in parenthesis. It's a good solution if you have a limited number of countries.
2. Do the above automatically by running the query below in your phpMyAdmin:
UPDATE jos_hikashop_zone SET zone_name=zone_english_name WHERE 1;
It's easy to do and you won't have anything to do when you update.
3. Remove the code:

> if($zone-&gt;zone\_name\_english != $zone-&gt;zone\_name){
> $title.=' ('.$zone-&gt;zone\_name.')';
> }

from the file administrator/components/com_hikashop/classes/field.php. That's easy to do but then, when you update HikaShop, you will have to reapply the modification as that file is a core file of HikaShop.

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

- **[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")**
- [![gerard&#95;pp's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile") Topic Author
- [ Offline](/forum/user/2611-gerard-pp)

Less More

- Posts: 44
- Thank you received: 0
-
-

15 years 5 months ago [\#16888](#16888) by [gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")  Replied by *[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")* on topic *[Re: Leave only the english names of zones](/forum/4-how-to/16881-leave-only-the-english-names-of-zones#16888 "Hello,  In the registration form, i want just leave the english name of all the countries and states, removing the zone&#95;name and the parenthesis.  How can i do that?")*

Thank you very much!!! Second option worked like a charm.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2ODgxLWxlYXZlLW9ubHktdGhlLWVuZ2xpc2gtbmFtZXMtb2Ytem9uZXM/dG1wbD1tYXJrZG93bg==) 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?

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

Time to create page: 0.047 seconds

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