Hello people i have this problem:
Item aliases are automatically created in the Russian language.
When creating a new commodity - in Russian aliases created.
SEO Settings:Quote
Search Engine Friendly URLs Yes
Use URL rewriting Yes
Adds Suffix to URL No
Unicode Aliases No
PHP Version 5.3.5
Web Server Apache
Joomla! Version Joomla! 2.5.20 + Virtuemart 2.6.0a
Language Shop Virtuemart 2 : Russian and English
SEO Virtuemart 2:QuoteSEO Disabled Yes
Seo Suffix -detail
Translate Strings Yes
Use Product and Category IDs Yes
How to change the language alias products and categories to the Latin alphabet? How to make automatic creation of an alias item in the Latin alphabet?
Up
There you have the people with the opposite problem and the solution http://forum.virtuemart.net/index.php?topic=123502.msg421899#msg421899
Thanks Milbo! You are a magician!
solution:
administrator\components\com_virtuemart\helpers\vmtable.php
$unicodeslugs = VmConfig::get('transliterateSlugs',false); - RUS
$unicodeslugs = VmConfig::get('transliterateSlugs',true); - LAT transliteration
Quote from: fale on May 22, 2014, 14:28:53 PM
solution:
administrator\components\com_virtuemart\helpers\vmtable.php
$unicodeslugs = VmConfig::get('transliterateSlugs',false); - RUS
$unicodeslugs = VmConfig::get('transliterateSlugs',true); - LAT transliteration
Hello, fale.
Can you tell something about this similar trying (http://forum.virtuemart.net/index.php?topic=124124.msg424124#msg424124)? Why does it not work?
The trick is to add this value to your virtuemart.cfg
transliterateSlugs=1 respectivly transliterateSlugs=0
Then you just need to get this into your configuration. In Vm3 it is simple, just store the config 1 time. In Vm2, you must use the button in tools "udpate config by file", be aware that you loose your settings then. Of course you can theoretically set all config defaults into the virtuemart.cfg (interesting for retailers actually).
Hi
I have tried both proposed solutions on Joomla! 3.4.8 and VirtueMart 3.0.12 and none of them worked.
When I create a new product and the product name is in Greek then I get ending URLs like : %CE%B1%CF%80%CE%BF%CE%B8%CE%B7%CE%BA%CE%B5%CF%85%CF%84%CE%B9%CE%BA%CF%8C-%CE%BC%CE%AD%CF%83%CE%BF-usb-64-gb which is in Greek but cannot be read if you post them into Facebook, Google+ etc.
I would like to get urls which contain the Greek title written using latin characters i.e.
"Αποθηκευτικό μέσο usb 64 gb" to be changed into "apothikeftiko-meso-usb-64-gb" automatically.
Is that possible with Virtuemart 3?
Thanks in advance
hello, Milbo!
in latest version (3.0.18) there are predefined hidden constants in config file:
[config]
##hidden
#updEngine=1 //controlls disable automatic updating of the table engine
#dblayoutstrict
#dbpsdescsize
#dbnamesize
#updelcols //controlls if columns are deleted
#prodOnlyWLang //dont use fallbacks for products
#vm_lfbs //eg vm_lfbs=it-IT~de-DE; maps the fallback of the it-IT language to de-DE
#product.published=1 //controlls if new products are automatically published
#seo_full=1 //with 0 no categories are added to the URL of products
#keysize //size of encryption key
#maskIP
#reuseorders //default enabled, prevents creation of pending orders if confirmed later
#randOrderNr
#randOrderPw
#full_catname_tree
#pricesbyCurrency //currency depended selected price; the selected currency determines the selected price of the product if availabe
#vm_num_ratings_show //amojunt of ratings to show
please, add all possible hidden terms (including transliterateslugs) and add comments to them
so you'll save a lot of our nerves, and many hours of searching for solutions.
Quote from: Milbo on June 20, 2014, 17:08:35 PM
The trick is to add this value to your virtuemart.cfg
transliterateSlugs=1 respectivly transliterateSlugs=0
Then you just need to get this into your configuration. In Vm3 it is simple, just store the config 1 time. In Vm2, you must use the button in tools "udpate config by file", be aware that you loose your settings then. Of course you can theoretically set all config defaults into the virtuemart.cfg (interesting for retailers actually).
Yes, this is the most elegant and workable solution. So we will not change vmtable.php.
Thank you Milbo.
Quote from: its4yougr on January 20, 2016, 07:51:29 AM
Hi
I have tried both proposed solutions on Joomla! 3.4.8 and VirtueMart 3.0.12 and none of them worked.
When I create a new product and the product name is in Greek then I get ending URLs like : %CE%B1%CF%80%CE%BF%CE%B8%CE%B7%CE%BA%CE%B5%CF%85%CF%84%CE%B9%CE%BA%CF%8C-%CE%BC%CE%AD%CF%83%CE%BF-usb-64-gb which is in Greek but cannot be read if you post them into Facebook, Google+ etc.
I would like to get urls which contain the Greek title written using latin characters i.e.
"Αποθηκευτικό μέσο usb 64 gb" to be changed into "apothikeftiko-meso-usb-64-gb" automatically.
Is that possible with Virtuemart 3?
Thanks in advance
The solution is simple. Backend must be Greek, not English. Then alias (URL) will be converted correctly.
Dear Venci Gentchev thank you very much for your reply.
I just test it on a small e-shop I am developing on Joomla 3.6.5 & Virtuemart 3.0.18 and it still doesn't work....
Thanks
I developed a new shop and I use version 3.0.19.7. I tested with version 3.0.18 and everything is OK.
Did you not have a problem with language files? Have you tested with another language?
When you write an article, do you have the same problem?
I had a problem with the latest Bulgarian language version of Joomla. When I wrote an article the alias was just numbers.
I do not know how Virtuemart makes alias and I only guess.
Hi
I added transliterateSlugs=1 to virtuemart.cfg
But virtuemart still generates sef with áíé
What do I wrong?
Thanks
Did you store the config?
yes when i reopen filezilla i can see it there
It is necessary to save the Virtuemart settings in the administration. Only then Virtuemart read the configuration file and save the settings.
I guess that's what Milbo means.
now it works thanks