News:

Support the VirtueMart project and become a member

Main Menu

Are Product Types Translatable now?

Started by benbogart, July 01, 2011, 21:40:16 PM

Previous topic - Next topic

benbogart

In Virtuemart 2.0 are Product Types translatable with Joomfish?

benbogart

Does anybody know the answer to this?  In Virtuemart 1.x they are not translatable because of the data base structure used to store them.

Milbo

We think about just to add an JText::_ before the description as we already do for the userfields. So you can then add something like COM_VIRTUEMART_MY_PRODUCTTYPE_ATTR and then oyu add that to the language file. Just an idea, maybe there are better solutions
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

Milbo replied while I was in the middle of typing this:

The old VM1.1.x attributes, product types, etc. have been replaced by user defineable custom fields. I'm not going to test it for you, but I doubt that current versions of Joomfish would work with VM2. If you want to try, you probably would have to develop a new "content element" file for Joomfish. Perhaps the situation changes with Joomfish 3.0 some time in 2012.

...I wonder if it would be difficult for the VM2 developers to make use of the Joomla 1.7.x language switching capabilities, i.e. treat product descriptions like articles in the CMS, where you can assign one of the installed languages in the article settings... ::)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

benbogart

Milbo, Thats quite a nice idea actually!  I'll give it a go.

jjk, the problem with the current version is that there is no way to write a new content element file for the Product Type attributes because they use a multi column index in the database table.  I am very happy to know hear that product type attributes have been replaced but user definable fields, it gives me some hope.  But really your suggestion to make use of 1.7 language switching abilities would be even better (assuming a 1.7 ever gets released and they don't move on to 1.8 before they get that far).

Thanks.

jjk

Quote from: benbogart on July 03, 2011, 17:14:29 PM
assuming a 1.7 ever gets released ...

I'm shure it will. I have J1.7.0 Beta installed and the "Stable" is due in less than three weeks.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

my idea would exactly use the joomla methods and should then also use the language switching capibilities,.. it is not nice to edit though, but not hard.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Studio 42

Hi,
The field can be translate with standard joomla ini string by adding it to the component.

Set A standard String eg. COM_VIRTUEMART_SIZE="Size" and set it for each language.
Name your field or value as your string >  COM_VIRTUEMART_SIZE
now it's translated by joomla.
For bigger shop, i think it's better to manage it with joomfish.

gourky

Hello,

Maybe if we can get just a language combo field for categories and product description, in the configuration page.
Maybe better the default language description always displayed, a combo to select next language, and the next language description field to have the default one as a model.
I think multi language support is mandatory. It would be better to avoid installing a third tool to manage only virtuemart languages.

Milbo

It is supporting multi language. btw, what means, "capable of" "supporting" and "featuring" ?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/