Author Topic: How should we determine the vm language?  (Read 2380 times)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
How should we determine the vm language?
« on: July 15, 2013, 15:08:52 pm »
As you know in vm2.0.22 we stumbled again over the language stuff.

I think we should discuss and exactly describe how the languages should be determined. Of course the first idea is "We take the language of the user", but that means that we need a product description in any language.
Atm we can provide with joomla 20 languages, but only fill 5 languages per product. Atm it checks if the selected language is also available as vm language and if it is there it is used. Otherwise it uses the fallback to the first listed language.
To make the perfect, we would need a table refering languages to others,.. for example portugese users would see the shop it self in Portugese, but the products in spainish.

But there is still the problem left, which language to use if you install the shop. Atm I tend to the idea that it should use the main frontend language of joomla.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Los Angeles immigration lawyers
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: How should we determine the vm language?
« Reply #1 on: July 15, 2013, 21:20:38 pm »
Why would portugese users see the products in spanish and the shop in portugese? didn't understand you there.

Refering languages to each other will also send keep the url in the actual product you are viewing translated when you click in a different language? that's something which will be great too and currently is only possible if you have menu items created to each product and category.

I think VM should install using the backend language of joomla but what if the language is not included in the package of VM? Will you add them all? or it will just show in english until you install your language.

Regards

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: How should we determine the vm language?
« Reply #2 on: July 16, 2013, 13:38:32 pm »
Why would portugese users see the products in spanish and the shop in portugese? didn't understand you there.
Assume your products are written in english and spain. But you have actually 20 languages installed. Why should not see the russian the whole joomla and vm in russian, but the product in english? Instead of giving someone from portugese the possibility to see everything in spain or english,.. it has now the possibility to show joomla and vm in portugese, but the products in spainish.


Refering languages to each other will also send keep the url in the actual product you are viewing translated when you click in a different language? that's something which will be great too and currently is only possible if you have menu items created to each product and category.
Yehh haha funny, great idea man. I did not had this idea, but actually with a reference table, we could get rid of the problem if a product is not translated. At least for the productdetail view.

I think VM should install using the backend language of joomla but what if the language is not included in the package of VM? Will you add them all? or it will just show in english until you install your language.

Regards

It is shown in english. At least the vm stuff. For joomla I dont know. I think the FE language is more important. FE language is first translated. A lot admins of smaller language groups (like croatian) use in the FE their native language but in BE english. I use it myself that way. Everyone using the international forum is tempted to to work that way, because it is easier to communicate.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/