Multilanguage Guide for VirtueMart (Moved on 6 December 2007)

How to support more than one language on your site.

Moderator: General Support Moderators

Locked
carlosleon0615
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Jun 12, 2006 3:16 pm

Re: Miltilanguage Guide for VirtueMart

Post by carlosleon0615 » Tue Jun 13, 2006 8:08 pm

This thread has been very helpful! Thanks!

A related question/issue I have is:
How do you make the automatic "Download-info" e-mail be sent in the appropriate language?  This is, if the user placed the order selecting a particular language, say Spanish, he/she gets an automatic "Purchase Order" e-mail in the correct language (i.e. Spanish). However, after making the payment OR when the admin changes the order status to "Confirmed", the 2 e-mails sent to the user are in the default language (i.e. English) instead of in the language the user selected when submitting the order (i.e. Spanish).

The 2 automatic e-mails I am talking about are:
1. The "Download-info" e-mail ("...the file(s) you ordered are ready for your download...")
2. The "Order Status Change" notification e-mail

Is there a way to have these e-mails sent in the correct language?

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Miltilanguage Guide for VirtueMart

Post by ivo.apostolov » Tue Jun 13, 2006 8:40 pm

Will investigate that

User avatar
elkuku
Joomla! Intern
Joomla! Intern
Posts: 97
Joined: Sat May 13, 2006 11:51 am
Location: Atacames
Contact:

Re: Miltilanguage Guide for VirtueMart

Post by elkuku » Tue Jun 20, 2006 7:59 pm

carlosleon0615 wrote: A related question/issue I have is:
How do you make the automatic "Download-info" e-mail be sent in the appropriate language?  This is, if the user placed the order selecting a particular language, say Spanish, he/she gets an automatic "Purchase Order" e-mail in the correct language (i.e. Spanish). However, after making the payment OR when the admin changes the order status to "Confirmed", the 2 e-mails sent to the user are in the default language (i.e. English) instead of in the language the user selected when submitting the order (i.e. Spanish).

The 2 automatic e-mails I am talking about are:
1. The "Download-info" e-mail ("...the file(s) you ordered are ready for your download...")
2. The "Order Status Change" notification e-mail

Is there a way to have these e-mails sent in the correct language?
This is a question i am also thinking about how to solve it... There must be a field in the users table specifying the language for every user to send mails in the correct language.

carlosleon0615
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Jun 12, 2006 3:16 pm

Re: Miltilanguage Guide for VirtueMart

Post by carlosleon0615 » Tue Jun 20, 2006 10:10 pm

Another issue I'm seeing is with child products (not sure if that's also with a product without children). Basically, child products are displayed with the correct translation done in JoomFish BEFORE adding them to the cart.  However, they are displayed in the cart withOUT translation!  Also, the purchase order e-mail that is sent to the customer also has the name of the selected child product in English (default language) and NOT in Spanish (or whatever language the user selected).  See the attachment for a screenshot of this issue.

Any ideas on how to solve this?
You do not have the required permissions to view the files attached to this post.

ThomasH
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jun 25, 2006 4:37 pm

Re: Miltilanguage Guide for VirtueMart

Post by ThomasH » Sun Jun 25, 2006 10:09 pm

Hi there :)

I've done everything you told us in your first thread, Ivo. Unfortunaltely i am only able to translate it into 1 other language. My problem is, that i need to translate it to three different languages (english, german and spanish).

Any advise or help would be greatly appreciated. Sorry if i am just blind or whatever but i'm fairly new to the whole joomla thing ;)

TIA,
Thomas

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Miltilanguage Guide for VirtueMart

Post by ivo.apostolov » Mon Jun 26, 2006 7:05 am

You need to have those languages installed in your Joomla!
Like you need to have it as a languages in your Joomla! Language Manager.

ThomasH
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jun 25, 2006 4:37 pm

Re: Miltilanguage Guide for VirtueMart

Post by ThomasH » Mon Jun 26, 2006 8:05 am

Hey ivo,

thanks for your answer, really appreciated!

Ok, i'll give it another try, i hope, i'll get it sorted out since i am really in need of three different languages. If it comes to the case that i don't get it solved, would you be so kind to have a look into it if i create you a login at my site? I know, i am asking for much .... but in some cases it is the best solution.

Thank you!

Cheers,
Tom

//edit
After trying it again i get the following error after switching the language at the frontend


Fatal error: Cannot instantiate non-existent class: vmlanguage in /www/htdocs/v114333/joomla/components/com_virtuemart/virtuemart_parser.php on line 68

And after adding a translation from english to spanish the backend tells me "Translation incomplete or original changed "
Last edited by ThomasH on Mon Jun 26, 2006 8:46 am, edited 1 time in total.

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Miltilanguage Guide for VirtueMart

Post by ivo.apostolov » Mon Jun 26, 2006 9:05 am

Could you give me some access to the site to review it.
Just PM me

baxime
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Apr 17, 2006 1:07 pm

Re: Miltilanguage Guide for VirtueMart

Post by baxime » Sun Jul 23, 2006 3:13 pm

Hi everybody,

I've a problem with the translation of the VM product attribute. Some attributes are translatable some others take the same Lable Attribute and Lable Value.

Example :

Color Attribute:
Lable: Attribute    Color
Lable: Value          Blue

Material Attibute:
Lable: Attribute    Material
Lable: Value          Metal

Size Attribute:
Lable: Attribute    Color
Lable: Value          Blue

Could you please help me ? :-[

Thanks in advance for your help.

Eloïse

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Miltilanguage Guide for VirtueMart

Post by ivo.apostolov » Sun Jul 23, 2006 3:50 pm

I am investigating this problem from one week.
The main problem is that each attribute must have unique ID, in our case it doesn't so the Joom!Fish is confused what exacly to translate.

User avatar
translatum
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Dec 31, 2005 12:54 am
Contact:

Re: Miltilanguage Guide for VirtueMart

Post by translatum » Tue Aug 01, 2006 6:38 pm

Hi Ivo,

Well done for the excellent work.
I think you might have to update the link to virtuemart as version 1.0.6 is out.

http://forge.joomla.org/sf/frs/do/downl ... s6024?dl=1

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Miltilanguage Guide for VirtueMart

Post by ivo.apostolov » Wed Aug 02, 2006 7:52 am

Thanks,
updated

User avatar
translatum
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Dec 31, 2005 12:54 am
Contact:

Re: Miltilanguage Guide for VirtueMart

Post by translatum » Wed Aug 02, 2006 6:40 pm

Well done!

A question: is this order necessary? I mean, will it go wrong if one adds the contentelements first?
5. Add your products in the normal way in VirtueMart
6. Add to the folder administrator/components/com_joomfish/contentelements/ the files attached to this thread. If can upload those files easy with the Joom!Fish Content Element Installer. Get it from here and upload the files one by one and NOT AS ZIP.
A small typo: Miltilanguage Guide for VirtueMart

should be Multilanguage Guide for VirtueMart

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Miltilanguage Guide for VirtueMart

Post by ivo.apostolov » Thu Aug 03, 2006 6:51 am

No the order is not required, anyway it is probably the best.

For sure you can not install the contentelements before the Joom!Fish

User avatar
translatum
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Dec 31, 2005 12:54 am
Contact:

Re: Multilanguage Guide for VirtueMart

Post by translatum » Thu Aug 03, 2006 9:18 am

Thanks for fixing the typo Ivo (it will help people searching).

It just seemed strange to me that you have to add the products first and then the content elements.

seenxu
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Sun Mar 12, 2006 12:03 pm

Re: Multilanguage Guide for VirtueMart

Post by seenxu » Sun Aug 13, 2006 2:00 pm

ThomasH wrote: Hey ivo,

thanks for your answer, really appreciated!

Ok, i'll give it another try, i hope, i'll get it sorted out since i am really in need of three different languages. If it comes to the case that i don't get it solved, would you be so kind to have a look into it if i create you a login at my site? I know, i am asking for much .... but in some cases it is the best solution.

Thank you!

Cheers,
Tom

//edit
After trying it again i get the following error after switching the language at the frontend


Fatal error: Cannot instantiate non-existent class: vmlanguage in /www/htdocs/v114333/joomla/components/com_virtuemart/virtuemart_parser.php on line 68

And after adding a translation from english to spanish the backend tells me "Translation incomplete or original changed "
I have the same problem, so what's the solution here to fix it? thx.

Get weird problem when displaying the site on PC with both of IE and Firefox, but the same site on Mac with different webbrowser, there are no single errors! just make me very confused!

the error code is:
Fatal error: Cannot instantiate non-existent class: vmlanguage in /mounted-storage/home20b/sub002/sc20479-GSZK/www/components/com_virtuemart/virtuemart_parser.php on line 68

setisfiction
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Wed Jul 26, 2006 9:18 am

Re: Multilanguage Guide for VirtueMart

Post by setisfiction » Fri Aug 25, 2006 7:47 pm

Thanks Ivo for excellent job!

In my multilanguage site everything works fine. But I have one problem.
My website using utf8_unicode_ci. Maybe because of this some letters in russian language appears as "??".
Any ideas what is the problem? I downloaded content elements from this link:
http://forge.joomla.org/sf/frs/do/viewR ... virtuemart

Any ideas appreciated,
thanks a lot,
Seytek.

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Multilanguage Guide for VirtueMart

Post by ivo.apostolov » Fri Aug 25, 2006 8:26 pm

Is this your database collation or your site collation or both?

setisfiction
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Wed Jul 26, 2006 9:18 am

Re: Multilanguage Guide for VirtueMart

Post by setisfiction » Fri Aug 25, 2006 8:33 pm

Оба :)

setisfiction
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Wed Jul 26, 2006 9:18 am

Re: Multilanguage Guide for VirtueMart

Post by setisfiction » Fri Aug 25, 2006 8:56 pm

Hello again Ivo!

Also I have problems with virtue2.searchbot. It installed ok, than I published.
I didn't installed mod_virtuemart_search_1.0.6.tar.
Seems everything is ok. But in front page, when I tryed to search some products in Russian or Chinese languages it
returns 0 results. What is the problem? Any ideas?

Thanks a lot,
regards,
Seytek

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Multilanguage Guide for VirtueMart

Post by ivo.apostolov » Fri Aug 25, 2006 10:54 pm

It was experimental code, which I never had the time to test fully :(
I have no idea if it works OK or not

setisfiction
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Wed Jul 26, 2006 9:18 am

Re: Multilanguage Guide for VirtueMart

Post by setisfiction » Fri Aug 25, 2006 11:09 pm

Thanks anyway, Ivo!

Could you be so kind to advise me some other ways of how to realize multilingual search?

Regards,
Seytek Kurmanov

aaltinisik
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Aug 26, 2006 1:13 pm

Re: Multilanguage Guide for VirtueMart

Post by aaltinisik » Sat Aug 26, 2006 2:41 pm

Dear Ivo,

is there anyway to use product types in virtuemart with Jomla fish ? I have been trying to write a contentelement file but could not write a working file ? (vm_product_type_parameters has 2 non unique indexes)

and another question why vm_product_type_parameter table's xml file is not included with the content element distro ?


Thanks

setisfiction
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Wed Jul 26, 2006 9:18 am

Re: Multilanguage Guide for VirtueMart

Post by setisfiction » Sat Aug 26, 2006 6:31 pm

Have you tryed this content element files?

http://forge.joomla.org/sf/frs/do/viewR ... virtuemart

Regards,
Seytek

aaltinisik
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Aug 26, 2006 1:13 pm

Re: Multilanguage Guide for VirtueMart

Post by aaltinisik » Sat Aug 26, 2006 9:14 pm

yes but there is no contentelement file for that specific table vm_product_type_parameter

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Multilanguage Guide for VirtueMart

Post by ivo.apostolov » Sun Aug 27, 2006 9:03 am

Hmz, I need to check that.

The problem is that some table have no unique ID :(

Antekvist
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Aug 30, 2006 8:29 am

Re: Multilanguage Guide for VirtueMart

Post by Antekvist » Wed Aug 30, 2006 8:35 am

Hello running a site with Joomla 1.09, Virtuamart 1.05 and Joomfish 1.7. And I have a problem with the translation of my attributes field of the products. It seems the original language attributes field works correctly and I can type in as many attributes as I want for every product, but in the translated attributes the text is limited to 100 characters.. So I cant fit all the sizes and colors in my translation.

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Multilanguage Guide for VirtueMart

Post by ivo.apostolov » Wed Aug 30, 2006 8:57 am

Edit the XML file for the attributes and change the field from text to textarea

fei249
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Sep 01, 2006 4:43 pm

Re: Multilanguage Guide for VirtueMart

Post by fei249 » Sat Sep 02, 2006 2:57 pm

Hi, the XML file of vm_store_info.xml seems some mistakes for VirtueMart Store Information.

It would be




  VirtueMart Store Information
  Ivo Apostolov
  1.7
  Definition for VirtueMart component (Store Information)
 
 
  ID
  Store Name
  Store Company Name
  Description
  Terms of service
 
 
Last edited by fei249 on Sun Sep 03, 2006 2:08 pm, edited 1 time in total.

fei249
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Sep 01, 2006 4:43 pm

Re: Multilanguage Guide for VirtueMart

Post by fei249 » Sun Sep 03, 2006 2:45 pm

I got the error message when I select "VirtueMart Product Product Type"

Warning: Invalid argument supplied for foreach() in /usr/home/stable/public_html/administrator/components/com_joomfish/contentelements/translationVm_categoryFilter.php on line 54

Any idea?


Locked

Return to “Joom!Fish and Multilingual Sites”