VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: yeyupa on September 19, 2016, 15:50:01 PM

Title: Seller registration without acute accent in México
Post by: yeyupa on September 19, 2016, 15:50:01 PM
Hi,
I have problems with the register in my shop, my web is from México, and in the drop down menu, where is selected the country, if the buyer write "Mexico" with not "acute accent" it doesn't appears nothing, the correct way is with the "é" with acute accent, and is how is sowed in the drop down menu, but a lot of my clients write me saying that they cant register because it doesn't appears Mexico
Title: Re: Seller registration without acute accent in México
Post by: GJC Web Design on September 19, 2016, 18:56:13 PM
have you editted it to incl. an accent?

in std VM I get

Title: Re: Seller registration without acute accent in México
Post by: yeyupa on September 19, 2016, 19:22:30 PM
Hi GJC Web Design,
Not really, my site is in spanish, and I installed the spanish version of joomla and the translation for virtue mart, thats why gets accent.
Title: Re: Seller registration without acute accent in México
Post by: GJC Web Design on September 19, 2016, 20:22:50 PM
Ah .. understood

I don't really see any solution apart from picking the most common spelling .. the "search" is done by JS chosen and it looks directly in the rendered select for matches
Title: Re: Seller registration without acute accent in México
Post by: jjk on September 19, 2016, 20:34:14 PM
You can try this: Go to VM 'Configuration' > 'Countries' and unpublish Mexico. Then add a new country and name it México with the same settings as the original. Keep the unpublished original as a backup. But then users typing Mex... won't see the country in the dropdown list. I don't remember if it causes problems elsewhere if you publish both.

[Edit]
Disregard - the above doesn't work in your case.

However, you could add a Joomla language override using the key (Language Constant) COM_VIRTUEMART_COUNTRY_MEX and the string (Text) México. This way the accent should be kept. But then your customers won't see the country anymore if they type Mexico.
Title: Re: Seller registration without acute accent in México
Post by: yeyupa on September 19, 2016, 23:12:49 PM
Hi again,what i really want is that typing with o without accent appears México in the drop down menu
Title: Re: Seller registration without acute accent in México
Post by: jjk on September 19, 2016, 23:24:45 PM
Quote from: yeyupa on September 19, 2016, 23:12:49 PM
Hi again,what i really want is that typing with o without accent appears México in the drop down menu
Sorry, but at present I have no idea how to achieve that.
Title: Re: Seller registration without acute accent in México
Post by: Studio 42 on September 20, 2016, 01:15:17 AM
Perhaps simply add "Mexico" and let the old one as it is?
You get 2 result and user have 2 choices, but i think it's really not a problem.