VirtueMart Forum
VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: nicolechen on February 11, 2012, 13:11:23 pm
-
Joomla 2.5.1. Falang 1.1.1. VirtueMart 2.0.1f.
Enabling Falang's "System - FaLang Database Driver" plugin will cause products to fail to display.
-
Turns out the problem was fundamental.
As it stands, the new VirtueMart (with multi-lingual support) should conflict with both JoomFish and FaLang. That is, anyone using JoomFish or FaLang won't be able to use VirtueMart (the new one, at least).
VirtueMart's addition of multi-language support is slick and fantastic (I'll get to fixing the translation of custom fields soon enough). However, it did not turn off translation done by JoomFish or FaLang.
I fixed the problem with a thin wrapper for the DB object in VirtueMart.
I'm not sure if the fix is correct, though.
To put the fix in FaLang or JoomFish would pretty much be asking them to cater to "Joomla and VirtueMart". Seeing as Joomla is much larger than VirtueMart, it would seem that FaLang/JoomFish are doing what they are supposed to do: cater for the Joomla masses, without knowing the myriad of shopping carts available for Joomla.
If VirtueMart is the overwhelming norm, more so than FaLang/JoomFish, then perhaps they would cater to VirtueMart.
I don't know if VirtueMart wants to cater for FaLang/JoomFish, or vice versa. For now, I'm running my own fix to the compatibility problem.
Any suggestions on future directions in this regard?
-
Any suggestions on future directions in this regard?
Depends on why you need something like Joomfish. You didn't mention which problem you want to solve with Joomfish or FaLang. (I don't miss it yet on my J2.5/VM2 mulitlanguage site - Joomla Menu/Article and VM2 translations work well for me)
However, you might wait a little bit and see what the Joomfish team comes up with when they release their jf-future project which resides on github. You will find a link here:
http://www.joomfish.net/forum/viewtopic.php?f=48&t=10970#p37498 (http://www.joomfish.net/forum/viewtopic.php?f=48&t=10970#p37498)
(Some time ago a Joomfish team member did have a look at how VM2 handles translations and afterwards stated that he considers it a good solution)
-
Any suggestions on future directions in this regard?
Depends on why you need something like Joomfish. You didn't mention which problem you want to solve with Joomfish or FaLang. (I don't miss it yet on my J2.5/VM2 mulitlanguage site - Joomla Menu/Article and VM2 translations work well for me)
JoomFish / FaLang / VirtueMart multilanguage mechanism are all great (or at least the way things should be done). Joomla's multi-language mechanism is not. VirtueMart doesn't give me translations for Joomla, only for VirtueMart itself. I need a JoomFish / FaLang to fill in.
However, you might wait a little bit and see what the Joomfish team comes up with when they release their jf-future project which resides on github. You will find a link here:
http://www.joomfish.net/forum/viewtopic.php?f=48&t=10970#p37498 (http://www.joomfish.net/forum/viewtopic.php?f=48&t=10970#p37498)
According to many on that forum, that "wait a little bit" has become quite a long wait. I looked at FaLang's code, and did a quick comparison to JoomFish's. The updates required to make JoomFish work with 1.7 (or 2.5) didn't seem all that much. I haven't tried JoomFish yet (since I start off with Joomla 2.5.1). But I must say that JoomFish is still the standard (FaLang has many missing areas, for now). If I need to, I'll contribute to either project. I just don't know which one yet.
(Some time ago a Joomfish team member did have a look at how VM2 handles translations and afterwards stated that he considers it a good solution)
To be fair, JoomFish / FaLang did not have VirtueMart's luxury of working "only with its own objects / records". FaLang (and consequently JoomFish) are good enough.
Having a "language translation table" for each DB table may not be a good "consolidated solution" approach that "handles Joomla plus every add-on out there". Still, it makes for a lot of convenience, and a lot less confusion (mapping is direct). If I understand VirtueMart's translation mechanism correctly, that is.
-
I fixed the problem with a thin wrapper for the DB object in VirtueMart.
If i use native joomla language, when i clink on the flag, bring me to the home page for translate (or default page), so, if some user find my product page in italian language, and clink on english flag, he redirect do home (england) page.. and have to search again the product !!
So, Can you explain, step by step, how to fix this problem ? (i'm very beginner :P )
bye, zak.
-
Hi,
I'm stéphane from faboba (Falang).
Can you send me the wrapper you have done.
I will have a look to see if i can do something for the virtuemart specific problem.
You can do it directly by the contact form on my site.
Thanks,
Stéphane
-
Hey Stéphane,
Good to see you here on the VM forums. This is probably the best person to help you nicolechen. As mentioned earlier, the use of FaLang is pretty much un-needed in VM2 - so I would doubt the VM dev team would go out their way to make it compatible with something almost nobody needs or wants to use.(In VM that is, JaLang is fundemental to alot of websites I, and others, design without VM).
Liam
-
Hi,
I'm not sure it's a no need feautre, because you have to translate other page than just shop page.
If you have just a shop without cms , prestashop it's better in this case.
It's possible to have by made the wrapper ?
Stéphane
-
"Joomla 2.5.1. Falang 1.1.1. VirtueMart 2.0.1f.
Enabling Falang's "System - FaLang Database Driver" plugin will cause products to fail to display."
vm:2.0.2
joomla:2.5
i dont have this problem
i both use falang, and the database driver.
my products are displayed in the frontend and backend.
i need falang, because i have a joomla site plus shop, and not only a shop
-
Hi Zuske,
can i see your online site ?
and can you tell me something about your configuration? php version and other ...
thankyou, bye
thezak
-
i use: joomla. 2.5.1 and VM 2.0.2
link to my shop, u can see falang language switcher and products
http://www.mongolianlife.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=18&virtuemart_category_id=6&Itemid=118&lang=en&showall=1
installed extensions, falang component, falang module, falang package
plugin: System - FaLang Database Driver
-------------
PHP Built On Linux dutch56.digitalus.nl 2.6.18-274.el5PAE #1 SMP Fri Jul 8 17:59:09 EDT 2011 i686
Database Version 5.0.77
Database Collation utf8_general_ci
PHP Version 5.3.9
Web Server Apache/2.2.3 (Red Hat)
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 2.5.1 Stable [ Ember ] 2-Feb-2012 14:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
-----------------
Safe Mode Off
Open basedir None
Display Errors Off
Short Open Tags On
File Uploads On
Magic Quotes Off
Register Globals Off
Output Buffering On
Session Save Path /tmp
Session Auto Start 0
XML Enabled Yes
Zlib Enabled Yes
Native ZIP Enabled Yes
Disabled Functions None
Mbstring Enabled Yes
Iconv Available Yes
------------------
Configuration File
offline 0
offline_message Deze website is tijdelijk niet beschikbaar i.v.m. werkzaamheden.<br /> Probeert u het later nog eens.
display_offline_message 1
sitename Mongolianlife, ontdek het leven van de nomaden
editor tinymce
list_limit 20
access 1
debug 0
debug_lang 0
dbtype mysqli
host xxxxxx
user xxxxxx
password xxxxxx
db xxxxxxx
dbprefix xxxxxxxxxxxx
live_site
secret xxxxxxxxxxxxxxxx
gzip 0
error_reporting default
helpurl http://help.joomla.org/proxy/index.php?option=com_help&keyref=Help16:{keyref}
ftp_host 127.0.0.1
ftp_port 21
ftp_user xxxxxx
ftp_pass xxxxxx
ftp_root
ftp_enable 0
offset Europe/Amsterdam
offset_user UTC
mailer mail
mailfrom info@mongolianlife.com
fromname Mongolianlife.com
sendmail /usr/sbin/sendmail
smtpauth 0
smtpuser xxxxxx
smtppass xxxxxx
smtphost localhost
smtpsecure none
smtpport 25
caching 0
cache_handler file
cachetime 15
MetaDesc Ontdek het leven van de Nomaden in Zuid-Mongolië, waar ze in gers (yurts) aan de rand van de Gobiwoestijn wonen. Zij maken vilten-, lederen -en houten traditionele Mongoolse producten. Deze producten bieden ze U aan in de Zaya webshop.
MetaKeys Mongolian Life,Mongolian, life, Mongolia, travel, Mongolian travels, Mongolian products, products, projects, Mongolië, Ger, Mongolië,Ulaanbaatar, Bayankhongor, Nomaden, gers, yurts, vilten, Gobi, Gobiwoestijn, Nomadenreis, Miat, Eznis, schapenwol, kamelenwol, Khadag, Chinggis Khaan, paardenmelk, Terelj, Naadamfestival, Zayashop, Yurt, Leven in Mongolië, Reizen naar Mongolië, het mongoolse leven, Life in Mongolia, Mongolia Life.
MetaAuthor 1
sef 0
sef_rewrite 0
sef_suffix 0
unicodeslugs 0
feed_limit 10
log_path /var/www/html/logs
tmp_path /var/www/html/tmp
lifetime 15
session_handler none
MetaRights Mongolianlife.com
sitename_pagetitles 0
force_ssl 0
feed_email author
cookie_domain
cookie_path
robots
offline_image
captcha 0
-
interesting (as Spock would say second in command of Interprise) ..
the only configuration differences I found were:
php built: server33 Linux 2.6.32-5-686 # 1 SMP Mon Jan 16 16:04:25 UTC 2012 i686
php version: 5.3.3 (your 5.3.9)
database version 5.1.49-3 (your 5.0.77)
Joomla version 2.5.3 (fresh install)
vm 2.0.2 (fresh install)
but nothing works for me .. everything goes to hell
have downloaded the commercial version of faboba? perhaps has some differences ..
bye,
thezak.
-
Having the same problem. Falang 111 with virtuemart 2.0.2 causes problems in category products. If i unistall falang everything is working Ok.
I have seen this problem so many times in virtuemart forums but still no solution is found.
-
Hi,
if i disable falang driver, and i change manually the link on browser, it work good!
example:
www.myname-sitezak.com/hello
to
www.myname-sitezak.com/en/hello
i just add "en" (i write directly on browser-bar) and i can see all my products on english language correctly !
so maybe not the driver that causes problems, but the module does not run properly?
configuration default joomla language filter:
all = yes
(but i try many combination with same result)
nobody have solution for this ? just thezak need to have a nice e-commerce multilanguage ?
:) bye, thezak
-
Hi Thezak,
hold your horses
i just checked but, i use the original commercial version of falang, (Falang Version V1.0.0 (basic))
AND NOT 1.1.1.
So might this be the problem??
i bought the extension.
Did u try the old version?
bye Zuske
-
Hi sbou,
YOu are in the Virtuemart forum and not falang then plz do not compare without any reason.
- First if you want to compare remember i give you some feedback from your developement(in joomla.fr).
- Second We don't provide support to falang or joomfish because the systême is slowing down websites but our system include FREE in virtuemart do not slow down your web site and are native in virtuemart core.
Some joomla guy are interested by the use of the virtuemart way to do. Why not simply use this patern to provide a real fast solution ?
I want only see your system on a E-Shop with 100000 products in 5 langs.
I have tested joomfish(same patern as your fork) in some site with very bad result. Sorry it's my opinion and the test we have done give the same feeling.
But if you wan't do it compatible with VM2 i don't have objection in all.
If you provide a paid version then please simply give the answer or redirect to your forum/website.
I never said to Joomla user to change CMS, because it's not my role.
Patrick
-
Also on our sites the category view does't work (with Falang/Joomfish and Virtuemart):
/components/com_virtuemart/views/category/tmpl/default.php
it doesn't read the content of the variable $product, for example: $product->product_name, $product->link, $product->product_s_desc
it works with Virtuemart 2.0.0, JoomFish2.1.7, Joomla 1.5.25
and Virtuemart 2.0.0, Falang 1.1.1, Joomla 2.5.4
but it does't work with the newer versions of Virtuemart, for example, 2.0.2, 2.0.3, 2.0.4. When Joomfish or Falang gets disabled it works.
-
Hi,
I found a reason why there are problem between VM and Falang.
When i look in the code of a vm query it's look like :
SELECT SQL_CALC_FOUND_ROWS *
FROM `m62ak_virtuemart_products_en_gb` AS l
JOIN `m62ak_virtuemart_products` AS p USING (`virtuemart_product_id`)
LEFT JOIN `m62ak_virtuemart_product_categories` ON p.`virtuemart_product_id` = `m62ak_virtuemart_product_categories`.`virtuemart_product_id`
LEFT JOIN `m62ak_virtuemart_categories_en_gb` AS c ON c.`virtuemart_category_id` = `m62ak_virtuemart_product_categories`.`virtuemart_category_id`
LEFT JOIN `m62ak_virtuemart_product_shoppergroups` ON p.`virtuemart_product_id` = `m62ak_virtuemart_product_shoppergroups`.`virtuemart_product_id`
LEFT OUTER
JOIN `m62ak_virtuemart_shoppergroups` AS s ON s.`virtuemart_shoppergroup_id` = `m62ak_virtuemart_product_shoppergroups`.`virtuemart_shoppergroup_id`
WHERE (p.`published`="1" AND `m62ak_virtuemart_product_categories`.`virtuemart_category_id` = 1 AND (s.`virtuemart_shoppergroup_id`= "1" OR (s.`virtuemart_shoppergroup_id`) IS NULL))
GROUP BY p.`virtuemart_product_id`
ORDER BY p.virtuemart_product_id ASC
And when you look in the result row , you can see a lot of row null
it's seem that the null row are comming from the join of the m62ak_virtuemart_shoppergroups
If you change the first ligne with SELECT l.*,p.*,c.* they are no more null value
Si I try to change in the /administrator/components/com_virtuemart/helpers/vmtable.php
in the line 379 i change for test :
$select = ' * FROM `#__virtuemart_products_'.VMLANG.'` as l';
by
$select = ' l.*,p.*,c.* FROM `#__virtuemart_products_'.VMLANG.'` as l';
All seem to work after that.
It's not the right solution the select must dynamic. But it's probably explain why there are problem between VM and FaLang
When i have the right solution , i will make another post with the right workaround.
Stéphane
-
Hello, thanks for posting. Which version of Virtuemart do you use? In Virtuemart 2.0.4 i found only these lines in /administrator/components/com_virtuemart/helpers/vmtable.php line 265:
//Version load the tables using JOIN
if($this->_translatable){
$mainTable = $this->_tbl.'_'.VMLANG ;
$select = 'SELECT `'.$mainTable.'`.* ,`'.$this->_tbl.'`.* ';
$from = ' FROM `'.$mainTable.'` JOIN '.$this->_tbl.' using (`'.$this->_tbl_key.'`)';
} else {
$mainTable = $this->_tbl ;
$select = 'SELECT `'.$mainTable.'`.* ';
$from = ' FROM `'.$mainTable .'` ';
}
if (count($tableJoins)) {
if (!$joinKey) $joinKey = $this->_tbl_key ;
foreach ($tableJoins as $tableId => $table) {
$select .= ',`'.$table.'`.`'.$tableId.'` ';
$from .= ' LEFT JOIN `'.$table.'` on `'.$table.'`.`'.$joinKey.'`=`'. $mainTable .'`.`'.$joinKey.'`';
}
}
-
Hi use the last one 2.0.4
But it's in the producs page
/administrator/components/com_virtuemart/models/product.php
line 378.
Sorry for the mistake
Stéphane
-
Hello,
i had virtuemart working fine and when i installed falang everything was deleted:
vm. 2.0.0
falang free 111 .... >:(
i now have no categories, products or anything!!!!!!!!is there a way to fix it? i already uninstalled te falang component, module and plugin...
thank you
mARIANA
-
Actually Falang and virtuemart don't work together.
We speak about this in this thread.
Stéphane
-
Hello, thanks, your patch works!
I use Falang 1.1.1 and VM 2.0.6 now and changed the line 380 of the file: /administrator/components/com_virtuemart/models/product.php from
$select = ' * FROM `#__virtuemart_products_'.VMLANG.'` as l';
to
$select = ' l.*,p.* FROM `#__virtuemart_products_'.VMLANG.'` as l';
now it works perfectly!
P.S.
i modified your patch-code a little bit (deleted the "c.*") because with the c.* there is an other bug: in the "root-view" where we see all the categories, there get listed also the products. With the c.* these products disappear. Without the c.* the category-view and product-view works.
-
Hi,
It's not really a patch because after that you have problem when you want to save product in VM.
I will have a look for a real patch because this select seem to have some problem with falang.
The response send same column name with different value (set or null)
Stéphane
-
OK.
P.S.
On my site with Joomla 2.5.4, VM 2.0.6 and FaLang 1.1.1 i can create new products, modify and translate them with the modification of the respective codeline in product.php
-
Yes ,
You're right with this modification
$select = ' l.*,p.* FROM `#__virtuemart_products_'.VMLANG.'` as l';
all seem to work even if it's not the right solution and only a test solution.
Stéphane
-
Hi,
I have a best workaround
In the file /administrator/components/com_virtuemart/models/product.php line 270
if(is_array($virtuemart_shoppergroup_ids)){
foreach ($virtuemart_shoppergroup_ids as $key => $virtuemart_shoppergroup_id){
//$where[] .= '(s.`virtuemart_shoppergroup_id`= "' . (int) $virtuemart_shoppergroup_id . '" OR' . ' (s.`virtuemart_shoppergroup_id`) IS NULL )';
}
//$joinShopper = true;
In this case you don't have to modify the line 379
Stéphane
It's remove the filter by shopper groups
-
Hi,
I propose now the right solution:
Line 378 of /administrator/components/com_virtuemart/models/product.php
replace line
if($joinLang){
...
} else {
.....
}
if($joinLang){
//$select = ' l.*,p.* FROM `#__virtuemart_products_'.VMLANG.'` as l';
$select = ' p.*,l.*';
if ($joinCategory) {$select .= ',c.*';}
if ($joinMf) {$select .= ',m.*';}
if ($joinPrice) {$select .= ',pp.*';}
if ($this->searchcustoms) { $select .= ',pf.*';}
if (!empty( $PluginJoinTables) ) {$select .= ','.$PluginJoinTables[0].'.*';}
if ($joinShopper) {$select .= ',s.*';}
$select .= ' FROM `#__virtuemart_products_'.VMLANG.'` as l';
$joinedTables = ' JOIN `#__virtuemart_products` AS p using (`virtuemart_product_id`)';
} else {
$select = ' p.*';
if ($joinCategory) {$select .= ',c.*';}
if ($joinMf) {$select .= ',m.*';}
if ($joinPrice) {$select .= ',pp.*';}
if ($this->searchcustoms) { $select .= ',pf.*';}
if (!empty( $PluginJoinTables) ) {$select .= ','.$PluginJoinTables[0].'.*';}
if ($joinShopper) {$select .= ',s.*';}
$select .= ' FROM `#__virtuemart_products` as p';
$joinedTables = '';
}
Can you mail me directly your feedback about this modification , or post them in the forum.
Stéphane
-
Hi,
I already have Falang installed on my website. If I install VM2 everything seems fine.
When I try to go to Virtuemart in the component list, it isn't in there. I can go to the virtuemart page by typing the address to the VM backend in the address bar. P
roduct images and descritions are not showing in the frontend.
The fix you provided probably fixes the problem in front end, but is there a way to install VM correctely after installing Falang?
I hope you understand what I mean.
Thanks!
-Sander
-
sander_v_bergen : I don't understand what you mean.
VM 2.0 is not in the component list of falang because you need to use the language system integrated in VM. There are an option to have a multilanguage shop.
I think the fix is the best fix and broke nothing.
It's can probably be added in the next release of VM.
Stéphane
-
Hi sbou,
I replaced the lines like Your right solution and it works fine.
Thank You
thorpi
-
Hi Stéphane,
my site is set up this way:
Joomla! 2.5.6
Virtuemart 2.0.6
Falang Version V1.1.5 (free)
English and Lithuanian languages.
Falang works just fine with regular Joomla content, but there are issues with Virtuemart (check the image attached).
Issues come up when trying to translate product categories, products, manufacturer categories, manufacturers, vendors.
Falang works OK with customs, currencies and countries.
Any help would be highly appreciated.
cheers
[attachment cleanup by admin]
-
I suppose you would have less problems if you would use the Joomla and VM2 native multilanguage features. I have a shop with 500+ products in two languages without using any additional multilanguage extension, which works perfectly, including SEF URLs for both languages.
If you absolutely need Falang for a certain reason I would suggest to post your question in the Falang forum.
-
Hi,
jjk is right , why do you post this in virtuemart forum ?
There are a specific thread for falang support in joomla.org forum.
Stéphane
-
jjk is right , why do you post this in virtuemart forum ?
That's ok, from the error message this certainly is not obvious for everybody. ;) But as far as I know, nobody from the VM2 team uses Falang, so chances to get a helpful reply here are very low.
-
Well,
thank you all the people who have responded to my question and I'm sorry to post this in the wrong forum.
I will repost it in the appropriate place.
-
Hi,
I propose now the right solution:
Line 378 of /administrator/components/com_virtuemart/models/product.php
replace line
Code: [Select]
if($joinLang){
...
} else {
.....
}
Code: [Select]
if($joinLang){
//$select = ' l.*,p.* FROM `#__virtuemart_products_'.VMLANG.'` as l';
$select = ' p.*,l.*';
if ($joinCategory) {$select .= ',c.*';}
if ($joinMf) {$select .= ',m.*';}
if ($joinPrice) {$select .= ',pp.*';}
if ($this->searchcustoms) { $select .= ',pf.*';}
if (!empty( $PluginJoinTables) ) {$select .= ','.$PluginJoinTables[0].'.*';}
if ($joinShopper) {$select .= ',s.*';}
$select .= ' FROM `#__virtuemart_products_'.VMLANG.'` as l';
$joinedTables = ' JOIN `#__virtuemart_products` AS p using (`virtuemart_product_id`)';
} else {
$select = ' p.*';
if ($joinCategory) {$select .= ',c.*';}
if ($joinMf) {$select .= ',m.*';}
if ($joinPrice) {$select .= ',pp.*';}
if ($this->searchcustoms) { $select .= ',pf.*';}
if (!empty( $PluginJoinTables) ) {$select .= ','.$PluginJoinTables[0].'.*';}
if ($joinShopper) {$select .= ',s.*';}
$select .= ' FROM `#__virtuemart_products` as p';
$joinedTables = '';
}
Can you mail me directly your feedback about this modification , or post them in the forum.
Stéphane
Hi,
Just to give some feedback.
All product items were pointing to the base url hence redirecting to the home page, no product links nor product images were displayed on 'category layout' view.
I replaced the lines like in "Your right solution" and it seems it fixes the issue.
JOOMLA: 2.5.6
VIRTUEMART: 2.0.8e
TEMPLATE: Gavick Pro's "gk_bikestore"
MULTILANG. : fr_FR, en_GB, es_ES
Thank You all.
Chris.
-
Worked for me to.
Joomla 2.5.6 VM 2.0.8e
-
Worked for me to.
Joomla 2.5.6 VM 2.0.8e
Hi, can you tell what did you apply? For me 2.0.6 with all suggested hacks didn't work. Don't have much ideas. Is it connected to VM versions?
Thanks.
-
Maybe a bit late to answer here, but this problem seems to be solved with the latest virtuemart version.
I am using FaLang 1.1.6, Joomla 2.5.7.
Before I was using VM 2.0.8.e and the problem was there, but once I updated to VM 2.0.10, everything works fine.
Now I'm pleased because I'm using FaLang to translate contents and the VM built-in translation thing to translate VM content. All in the same website.
Thanks,
Pablo
-
Hi,
I already have Falang installed on my website.
Can you tell how to use falang to translate the products in the virtuemart product list ?
Thanks.
-
VirtueMart 2 has it own translation system. I would rather use this instead of an additional third party multilanguage solution:
http://forum.virtuemart.net/index.php?topic=104901.0 (http://forum.virtuemart.net/index.php?topic=104901.0)
Works perfectly :)
-
Hi jjk,
Very usefull, thanks you!
-
I am running webstore on Joomla 2.5.17 with Virtuemart 2.6.6 and have installed languages translation over Extension Manager, but when I am looking at Configuration tab of Virtuemart module, there is only English language available from drop down menu.
If I look at the site, in SHOP - Virtuemart everything is already translated except Product titles, Product description and Categories names.
I can't find on where do I translate this things or why there is no Slovenian language shown at dropdown from Configuration tab.
Here are screenshots:
http://cl.ly/image/2L1x1l2R2a3l
http://cl.ly/image/3b3B3r3L310d
http://cl.ly/image/221R1k3g2K1v
System language filter:
http://cl.ly/image/1I45080j1E1W
Joomla is translated by Falang and not native Joomla translation as it doesn't work with all the modules I am using from Gavick in my shop.
The shop is here: http://www.manitas.si/
looking forward for your help.
-
Falang does not support VirtueMart. In this case it is useless anyway, because VirtueMart has it's own translation system. Even your Gavick modules should be translatable. In Joomla modules are translated by creating a copy of the module and assign the required language tag in the module configuration. So in your case you would need for example one menu module in which you have selected Slovenian as the module language and a second menu module with English as the module language.
With your current configuration you don't allow the user to select the language. I can only see English in the frontend, because I'm using an english language operating system and browser language. So I couldn't switch to Slovenian, if I could read/speak Slovenian. Also I would enable the language tag in the URL, because it helps search engines to index the content in the correct language. I'm not shure if VirtueMart works without the language tag in the url (I didn't test that).
I would recommend to follow this tutorial for your multilanguage setup: http://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html
-
hi.
yes I understand I can't translate with falang since is not support, but why is not showing me Slovenian language here in drop down menu of Virtuemart, when everything is turned on?
http://cl.ly/image/221R1k3g2K1v
Sidebar modules title of Virtuemart I managed to translate already by copying the modules and publish them only in Slovenian language - but i still need to translate Categories names and product descriptions + titles.
Help :)
-
Looks like you don't have the Slovenian VirtueMart translation installed.
http://virtuemart.net/community/translations
In case you have not installed the Slovenian Joomla language files, you should install those before installing the slovenian VM files. Please follow the instructions in this tutorial: http://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html
-
Hi There,
First of all let me thank you Stephane for this wonderful extension.
I have a multi-language Joomla site
PHP Version 5.4.36-0+deb7u1
Joomla! 3.3.6
VirtueMart 3.0.0
FaLang 1.4.5
Template Purity-iii
I established a Multi-Language Shop too; these are link to my shop:
English: http://wellan.ir/index.php/en/shop-en
Persian: http://wellan.ir/index.php/ir/shop-fa
When I enabled FaLang to use this great extension, Shop Page was disappeared!
After a long time, I find solution (it happens because I was published a module!)
When I active a “Module >> VirtueMart Category”
Page doesn't display anything!
So I was forced to unpublished this module!
After I do that, I can see the VirtueMart shop, but still have problem.
Nothing will display in the categories, No Products will display in there.
English: http://wellan.ir/index.php/en/shop-en/wellan-water-ring-en
Persian: http://wellan.ir/index.php/ir/shop-fa/wellan-water-ring-fa
After I disable "Plugin >> System - FaLang Database Driver" Every Thing is OK, But after I Enable it again, Comes back with these problems!!!
-
I'm pretty shure that Falang still is not compatible with VirtueMart. So you probably will have to build your multi-language site with the multi-language features built into Joomla and VirtueMart. This works pretty well. A short tutorial is available here: http://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html
Also there is a new extension, which might help to make translations within VirtueMart a little bit faster (But I didn't test that version yet myself):
http://shop.st42.fr/en/catalog/products/virtuemart-translator.htm
-
But there is a big problem when use joomla native, every thing must be duplicate
And if you change one you have to do it again with the others!!!!
-
Personally I think using Joomla's multi-language features has the benefit more flexibility. You can decide what to display for each individual language. It's a little bit more work at the beginning, because you have to 'duplicate' the site structure for each lanaguage (for example every menu, category and a homepage for each language). But afterwards you can also decide for example to hide certain menus in one language. Joomla allows to have a different number of articles in a category for every languge.
Translating VirtueMart categories and products works (from the user's point of view) pretty similar to the Joomfish/Falang system, where each element is mirrored in the other other language(s). So if your primary site language is Farsi and you write a product description in Farsi, it automatically is added to the other language(s) (but not yet translated).
-
no it is not added. We have fallback. Which means that if the selected language is not available it displays the mainlanguage. Very, very handy, because you can now create your store in one language and just translate your best sellers.
-
It has some advantage and some disadvantage, dependent on what you want to do.
When use FaLang You are still enable to do what you do it before,
but more fast develop when you need a duplicate copy of every thing (menu, module and etc.)
however, the problem is this why after FaLang starts VirtueMart doesn't work truly!!???
-
however, the problem is this why after FaLang starts VirtueMart doesn't work truly!!???
Well, I'm not a programmer. But FalLang is as far as I know not compatible with the Virtuemart multilanguage system. I don't know anybody who is sucessfully using FaLang together with VirtueMart.
-
Hi,
Thanks jjk to point to my virtuemart translator, for answer to falang you can try Joseta community http://extensions.joomla.org/extensions/extension/languages/multi-lingual-content/josetta-community
Or the Pro release http://extensions.joomla.org/extensions/extension/languages/multi-lingual-content/josetta
This use native Joomla database and can import from joomfish in PRO release(you can try the community version, to look if this was you need).
Studio 42