News:

Support the VirtueMart project and become a member

Main Menu

How should we determine the vm language?

Started by Milbo, July 15, 2013, 15:08:52 PM

Previous topic - Next topic

Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lindapowers

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

Quote from: lindapowers 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.
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.


Quote from: lindapowers on July 15, 2013, 21:20:38 PM
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.

Quote from: lindapowers on July 15, 2013, 21:20:38 PM
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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/