Multilanguage Guide for VirtueMart (Moved on 6 December 2007)

How to support more than one language on your site.

Moderator: General Support Moderators

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

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by ivo.apostolov » Wed Jun 20, 2007 4:59 pm

Did you replaced the parser file?

EdJoom
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Wed Jun 13, 2007 4:02 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by EdJoom » Wed Jun 20, 2007 5:08 pm

mmm. I see this file in page 1. I don't see anything about it in this first post. So I'll just read on where and how

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

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by ivo.apostolov » Wed Jun 20, 2007 5:10 pm

Well, it is there in red and bold.

EdJoom
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Wed Jun 13, 2007 4:02 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by EdJoom » Wed Jun 20, 2007 5:22 pm

:-[ Oeps. How silly of me. I think I need to stop programming for today. (its my job as well).
Thanks for the help, and terrific module. It even fixed the transaltion on news titles.

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

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by ivo.apostolov » Wed Jun 20, 2007 5:25 pm

:P

EdJoom
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Wed Jun 13, 2007 4:02 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by EdJoom » Mon Jul 02, 2007 11:37 am

Oh dear. I installed this locally and everything is perfect. After uploading my site I'm back to the drawing board. In JoomFish the virtuemart sections don't appear and the titles won't translate and I've wierd characters. This was solved with the replacement of the parser. But not online...

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

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by ivo.apostolov » Mon Jul 02, 2007 11:38 am

Review what are differences between the two servers.

EdJoom
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Wed Jun 13, 2007 4:02 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by EdJoom » Mon Jul 02, 2007 1:05 pm

One is on my local machine, the other with my hoasting provider. I think it may be some permissions somewhere, but can't figure out how. I uploaded the entire local root dir (folders only not the files in root) and then replaced the virtuemart conf files with those of the website.

Are there conf files of Joomfish were the computer name could be stored? That could be the reason.

gstensrud
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Jul 03, 2007 7:07 am

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by gstensrud » Tue Jul 03, 2007 7:53 am

Hi, I merged the Joomfish changes into the 1.0.12 version of VirtueMart. The updated parser file is attached.

J
You do not have the required permissions to view the files attached to this post.

hoofreddo
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Jun 30, 2007 3:54 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by hoofreddo » Tue Jul 03, 2007 10:04 am

Hi all m newbie,

have followed the instructions but got this message :

1
Fatal error: Class 'vmLanguage' not found in C:\wamp\www\joomla\components\com_virtuemart\virtuemart_parser.php on line 70

could you help me please

kader
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jul 04, 2007 3:01 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by kader » Thu Jul 05, 2007 1:33 pm

I installed everything it seem to be working quite well.
There is only 1 thing, the virtuemart login doesn't translate, in fact, the word just disappear. I don't see Username - password or anything else, all I have left (in the translated French version) is 2 field with no indication of what it is.

Anyone might know why ?

EDIT : I didn't see 2 post above mine that there was another parser available for the 1.0.12 version. I'll try it
EDIT2 : Still no luck
Last edited by kader on Thu Jul 05, 2007 2:20 pm, edited 1 time in total.

EdJoom
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Wed Jun 13, 2007 4:02 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by EdJoom » Thu Jul 05, 2007 5:27 pm

I can't figure it out.

I checked the folder contentelements and they are the same. No can I find any differences with the db. The problem only seems to be that the vm contentitems aren't listed in the dropdown box for the translation. I can't figure out the reason why titles of the virtue mart aren't translated too. They are listed in the database....

[EDIT]
mmm. I see that the language file local contains "Sub categorieën". When its loaded online the file still contains it. However it displays: Sub categorieën

So where do I change/check all language settings and character sets?

[EDIT]
I also see this in joomfish:
Warning: mb_eregi() expects parameter 2 to be string, array given in /usr/local/psa/home/vhosts/cardstock.nl/httpdocs/administrator/modules/mod_pathway.php on line 30
Last edited by EdJoom on Thu Jul 05, 2007 7:10 pm, edited 1 time in total.

kader
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jul 04, 2007 3:01 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by kader » Thu Jul 05, 2007 7:21 pm

EdJoom if it is doable, re-install joomla then joomfish and then virtuemart from scratch on your server.

Sorry I can't help you more.

EdJoom
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Wed Jun 13, 2007 4:02 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by EdJoom » Thu Jul 05, 2007 7:42 pm

kader wrote: I installed everything it seem to be working quite well.
There is only 1 thing, the virtuemart login doesn't translate, in fact, the word just disappear. I don't see Username - password or anything else, all I have left (in the translated French version) is 2 field with no indication of what it is.

Anyone might know why ?

EDIT : I didn't see 2 post above mine that there was another parser available for the 1.0.12 version. I'll try it
EDIT2 : Still no luck
What you can check are the laguage files. If you open the login form (e.g. checkout.login within virtuemart component html) you'll find the variable name somewhere. Check that variable in de language file. Maybe its not there. If it isn't just add it. I made my own variable in there and it works. If you empty one you'll see that it'll return a blank space instead of a word.

kader
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jul 04, 2007 3:01 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by kader » Thu Jul 05, 2007 8:47 pm

Ahh thx a ton, it worked, I had to go through a lot of code but I finally found it.

Thank you !

EDIT : there is one last thing I don't get.

English version look at the bottom where we have to agree to the terms of service
French version the text is missing.

I checked the variable in the french php file they're all in it... any idea ?
Last edited by kader on Thu Jul 05, 2007 9:37 pm, edited 1 time in total.

gstensrud
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Jul 03, 2007 7:07 am

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by gstensrud » Fri Jul 06, 2007 4:44 am

hoofreddo wrote:
Fatal error: Class 'vmLanguage' not found in C:\wamp\www\joomla\components\com_virtuemart\virtuemart_parser.php on line 70
The 'vmLanguage' class is defined in the language files (/administrator/components/com_virtuemart/languages). Make sure you have atleast the english.php present in that folder. I also see you are running windows, maybe there are some path problems makeing VM unable to find the language files?

J

mongkut
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jun 14, 2007 12:40 pm
Contact:

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by mongkut » Sat Jul 07, 2007 2:32 am

What ever you be or Who ever you are ... You done the right thing.

Thank you for your kind support solution. I've complete my site just now..
Thank you very much

Mongkut
Bangkok, Thailand

hoofreddo
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Jun 30, 2007 3:54 pm

can t upload joomfish 1.7

Post by hoofreddo » Sat Jul 07, 2007 9:10 pm

Hia Geeks,
manage to do the translations offline via wamp just forgot in the past to upload the index think thats where was the mistake from me.(offline)
Thanks a lot for your help.everyone !
But think m having a new problem can t upload joomfish on my rent server i m with supanames any good any tips ?

User avatar
KnightHV
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Fri Jun 22, 2007 8:32 am
Location: http://tamviet.vn
Contact:

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by KnightHV » Fri Jul 13, 2007 3:17 am

Very useful. Thanks. I'm using VirtueMart and JoomFish but can't intergrate both of them. I will try.

EdJoom
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Wed Jun 13, 2007 4:02 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by EdJoom » Fri Jul 13, 2007 7:08 am

Hi all,

I'm having trouble with my virtuemart translation. When I click my language flags all goes well except on the virtuemart menu. They won't translate. If I change the language in the config file it will translate the default language. Why doesn't this work?. New install of just joomla, joomfish, and virtuemart doesn't solve it.

In the joomfish administrator panel I'm missing the virtuemart content elements. I do have these locally...

[EDIT]
My guess it has to do with the global parameter $VM_LANG which for some reason isn't switched to UK or NL depending op the click of the flag. (the first issue)


[EDIT 2]
First part solved. Was the parser which wasn't right. Now only the joomfish administrator issue.
Last edited by EdJoom on Fri Jul 13, 2007 8:48 am, edited 1 time in total.

User avatar
KnightHV
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Fri Jun 22, 2007 8:32 am
Location: http://tamviet.vn
Contact:

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by KnightHV » Tue Jul 24, 2007 4:17 pm

My English is very bad and I can't understand all of your post. But very thanks.

User avatar
KnightHV
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Fri Jun 22, 2007 8:32 am
Location: http://tamviet.vn
Contact:

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by KnightHV » Thu Aug 02, 2007 2:18 pm

Understand and now I can do it

barnis
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jul 19, 2007 2:34 pm

Japanese languange Encoding

Post by barnis » Sat Aug 18, 2007 4:00 am

Take a look at my test site here:


http://jayby.com/index.php?page=shop.pr ... =1&lang=ja


Notice how the product descriptions are not encoded as UTF-8 correctly.  Can someone please advise?  I've been trying to fix this for over a month!!

koba
Joomla! Intern
Joomla! Intern
Posts: 98
Joined: Mon May 14, 2007 11:48 am
Contact:

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by koba » Thu Aug 30, 2007 9:55 pm

Sorry but I dont understand which version of VirtueMart I have to install - and if it is possible give a working links direct what I have to donload and install.

mellema
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Sep 13, 2007 2:47 pm
Contact:

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by mellema » Fri Sep 21, 2007 12:27 pm

Last file on this tread was to replace the virtuemart_parser.php for virtuemart 1.0.10 but now I have updated the VM to 1.0.12 but now the same problem is back again.
I have found the changed lines (40 an further)  in the old 1.0.10 parser though I dont know what it means I have copyd it to the 1.0.12 virtuemart_parser.php 

But here it is not working. Does any one know if there is an updated virtuemart_parser.php for VM 1.0.12 already. Im really really in great need for it!

The problem is that the main menu translations are not shown correctly!

gstensrud
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Jul 03, 2007 7:07 am

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by gstensrud » Fri Sep 21, 2007 3:22 pm

mellema wrote: Does any one know if there is an updated virtuemart_parser.php for VM 1.0.12 already. Im really really in great need for it!
I posted it earlier in this thread. Search for "virtuemart_parser_JF12.zip".

J

mellema
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Sep 13, 2007 2:47 pm
Contact:

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by mellema » Fri Sep 21, 2007 8:11 pm

Thanks so much! GSTENRUD though search function doesnt work... I had to find it manuale. I will try to put your piece of code somewhere to find it more easy. BTW where did you get the code from? I tried to copy paste from the 1.0.10 to the 1.0.12 but that didnt work. Did you PHP it your self? Will try to see what is diferent with the 1.0.10 im very eager to learn.... ;-)

gstensrud
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Jul 03, 2007 7:07 am

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by gstensrud » Sat Sep 22, 2007 3:08 pm

You're welcome!

I piced this one together myself because I couldn't find it anywhere.
I simply compared the original 11 file with the patched one and applied the same changes to the original 12 file.
I'm glad someone find it useful  :)

J

SiamJai
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Mon Aug 20, 2007 1:14 pm

Fixing gibberish code in your VirtueMart translation

Post by SiamJai » Wed Sep 26, 2007 8:34 am

fly_sun wrote: When I used the Joomfish to translate the english words to traditional and simplified chinese, I find it is working for the Joomla, e.g. Menu, etc. However, when I edit the items (virtueMart product Catagory), say, simplified chinese, some special characters come out like: 科骏服务.
There is a language-independent solution that takes care of this problem. We had a similar issue when translated VirtueMart to Thai using JoomFish. The problem was solved when we changed the site default language to Thai, making English a second choice.

Read about the detailed solution in this topic.
Last edited by SiamJai on Wed Sep 26, 2007 9:03 am, edited 1 time in total.

Marc-O
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Sep 18, 2007 5:03 pm

Re: Multilanguage Guide for VirtueMart (Last Update 17 April 2007)

Post by Marc-O » Thu Sep 27, 2007 8:54 pm

First of all: thumbs up (both of them) for Ivo. Everything worked "out of the box", except for one "small" thing: For SEO reasons, I would like to have my URL's translated as well. As I already entered a number of products to our shop, I also had a number of sh404SEF-ified URL's. Then I started working out the steps as explained in this thread. To my surprise, URL's of existing products weren't translated. Until I found out I had to delete all SEF URL's from within sh404SEF. After that, I had nicely translated URL's  8)

Hope this can be of help :)

Cheers,
Marc


Locked

Return to “Joom!Fish and Multilingual Sites”