Author Topic: the country in Bill To and Ship To sections is always in English  (Read 1119 times)

jmoreno

  • Beginner
  • *
  • Posts: 3
  • A beginner
Hello, I am using VM 3.0.6 and need to change the read only info of countries according to the language selected. If I select Spanish, then the countries appear in English. Take a look into example.png.

However, when I edit the info, the dropdown field related to the countries shows the countries correctly according to the language.

I have read the forum looking for a solution, but nothing works. I added the es-Es folder with the .ini file with Spanish countries in VM and administrator, and I did a lot of other things, but, again, nothing works.

Thanks for your help.

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2120
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: the country in Bill To and Ship To sections is always in English
« Reply #1 on: July 21, 2015, 13:36:47 pm »
Hi jmoreno,
Download and check the language file here : http://virtuemart.net/community/translations/virtuemart
if vm-admin-com_virtuemart_countries file is missing in your language then virtuemart use english else download the language pack and install it with Joomla installer.

Greets,
Patrick

jmoreno

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: the country in Bill To and Ship To sections is always in English
« Reply #2 on: July 23, 2015, 23:28:28 pm »
Hi Studio 42. Thanks for your post. I did what you said  and I have that table with the countries in English, but I need the cuntries in Spanish. I mean, my webpage must have both English and Spanish. English works fine, but when I choose Spanish, all is translated except the countries.

I could think that I should have another country table like vm-admin-com_virtuemart_countries_es_es, but thats not a good solution.

What else do you recommend?

Thanks in advance

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2120
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: the country in Bill To and Ship To sections is always in English
« Reply #3 on: July 24, 2015, 00:56:07 am »
Hi,
another solution is to use language overrides. see https://docs.joomla.org/J2.5:Language_Overrides_in_Joomla for explains.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3129
  • using Piwik instead of Google Analytics
Re: the country in Bill To and Ship To sections is always in English
« Reply #4 on: July 25, 2015, 11:19:49 am »
The country name translations are called from file yourdomain\administrator\language\es-ES.com_virtuemart_countries.ini.
Try to enable 'Debug System' and 'Debug language' in the Joomla configuration, then go to your cart view and check in the debug information at the bottom of the page if the file es-ES.com_virtuemart_countries.ini is loaded. If Joomla debug detects a 'parsing error' in the language file, you would have to correct the typo.

Another possibility is that you are using a third party 'One Page Checkout', which has its own language files or which doesn't load the es-ES.com_virtuemart_countries.ini.
Perhaps disable that OPC temporarily and check if it works with VirtueMart's own OPC.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jmoreno

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: the country in Bill To and Ship To sections is always in English
« Reply #5 on: July 27, 2015, 20:27:46 pm »
Thank you very much for your answers guys.

Margriet

  • Jr. Member
  • **
  • Posts: 79
Re: the country in Bill To and Ship To sections is always in English
« Reply #6 on: February 28, 2017, 11:19:58 am »
This problem still exists. Dropdown to choose country is ok, but country in cart and in order confirmation and invoice stays in Englisch. VM 3.0.19 and latest language file.