Page 2 of 8

Re: Miltilanguage Guide for VirtueMart

Posted: Tue Jun 13, 2006 8:08 pm
by carlosleon0615
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?

Re: Miltilanguage Guide for VirtueMart

Posted: Tue Jun 13, 2006 8:40 pm
by ivo.apostolov
Will investigate that

Re: Miltilanguage Guide for VirtueMart

Posted: Tue Jun 20, 2006 7:59 pm
by elkuku
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.

Re: Miltilanguage Guide for VirtueMart

Posted: Tue Jun 20, 2006 10:10 pm
by carlosleon0615
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?

Re: Miltilanguage Guide for VirtueMart

Posted: Sun Jun 25, 2006 10:09 pm
by ThomasH
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

Re: Miltilanguage Guide for VirtueMart

Posted: Mon Jun 26, 2006 7:05 am
by ivo.apostolov
You need to have those languages installed in your Joomla!
Like you need to have it as a languages in your Joomla! Language Manager.

Re: Miltilanguage Guide for VirtueMart

Posted: Mon Jun 26, 2006 8:05 am
by ThomasH
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 "

Re: Miltilanguage Guide for VirtueMart

Posted: Mon Jun 26, 2006 9:05 am
by ivo.apostolov
Could you give me some access to the site to review it.
Just PM me

Re: Miltilanguage Guide for VirtueMart

Posted: Sun Jul 23, 2006 3:13 pm
by baxime
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

Re: Miltilanguage Guide for VirtueMart

Posted: Sun Jul 23, 2006 3:50 pm
by ivo.apostolov
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.

Re: Miltilanguage Guide for VirtueMart

Posted: Tue Aug 01, 2006 6:38 pm
by translatum
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

Re: Miltilanguage Guide for VirtueMart

Posted: Wed Aug 02, 2006 7:52 am
by ivo.apostolov
Thanks,
updated

Re: Miltilanguage Guide for VirtueMart

Posted: Wed Aug 02, 2006 6:40 pm
by translatum
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

Re: Miltilanguage Guide for VirtueMart

Posted: Thu Aug 03, 2006 6:51 am
by ivo.apostolov
No the order is not required, anyway it is probably the best.

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

Re: Multilanguage Guide for VirtueMart

Posted: Thu Aug 03, 2006 9:18 am
by translatum
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.

Re: Multilanguage Guide for VirtueMart

Posted: Sun Aug 13, 2006 2:00 pm
by seenxu
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

Re: Multilanguage Guide for VirtueMart

Posted: Fri Aug 25, 2006 7:47 pm
by setisfiction
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.

Re: Multilanguage Guide for VirtueMart

Posted: Fri Aug 25, 2006 8:26 pm
by ivo.apostolov
Is this your database collation or your site collation or both?

Re: Multilanguage Guide for VirtueMart

Posted: Fri Aug 25, 2006 8:33 pm
by setisfiction
Оба :)

Re: Multilanguage Guide for VirtueMart

Posted: Fri Aug 25, 2006 8:56 pm
by setisfiction
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

Re: Multilanguage Guide for VirtueMart

Posted: Fri Aug 25, 2006 10:54 pm
by ivo.apostolov
It was experimental code, which I never had the time to test fully :(
I have no idea if it works OK or not

Re: Multilanguage Guide for VirtueMart

Posted: Fri Aug 25, 2006 11:09 pm
by setisfiction
Thanks anyway, Ivo!

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

Regards,
Seytek Kurmanov

Re: Multilanguage Guide for VirtueMart

Posted: Sat Aug 26, 2006 2:41 pm
by aaltinisik
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

Re: Multilanguage Guide for VirtueMart

Posted: Sat Aug 26, 2006 6:31 pm
by setisfiction
Have you tryed this content element files?

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

Regards,
Seytek

Re: Multilanguage Guide for VirtueMart

Posted: Sat Aug 26, 2006 9:14 pm
by aaltinisik
yes but there is no contentelement file for that specific table vm_product_type_parameter

Re: Multilanguage Guide for VirtueMart

Posted: Sun Aug 27, 2006 9:03 am
by ivo.apostolov
Hmz, I need to check that.

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

Re: Multilanguage Guide for VirtueMart

Posted: Wed Aug 30, 2006 8:35 am
by Antekvist
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.

Re: Multilanguage Guide for VirtueMart

Posted: Wed Aug 30, 2006 8:57 am
by ivo.apostolov
Edit the XML file for the attributes and change the field from text to textarea

Re: Multilanguage Guide for VirtueMart

Posted: Sat Sep 02, 2006 2:57 pm
by fei249
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
 
 

Re: Multilanguage Guide for VirtueMart

Posted: Sun Sep 03, 2006 2:45 pm
by fei249
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?