Author Topic: Item aliases are automatically created in the Russian language  (Read 4429 times)

fale

  • Beginner
  • *
  • Posts: 34
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:

Quote
SEO 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?

fale

  • Beginner
  • *
  • Posts: 34
Re: Item aliases are automatically created in the Russian language
« Reply #1 on: May 21, 2014, 10:24:35 am »
Up

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9382
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Item aliases are automatically created in the Russian language
« Reply #2 on: May 22, 2014, 01:36:48 am »
There you have the people with the opposite problem and the solution http://forum.virtuemart.net/index.php?topic=123502.msg421899#msg421899
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

fale

  • Beginner
  • *
  • Posts: 34
Re: Item aliases are automatically created in the Russian language
« Reply #3 on: May 22, 2014, 14:28:53 pm »
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

borro

  • Jr. Member
  • **
  • Posts: 204
  • Wish you happiness!
    • web developing, web design
  • VirtueMart Version: a few
Re: Item aliases are automatically created in the Russian language
« Reply #4 on: May 29, 2014, 14:25:22 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? Why does it not work?
Wish you happiness!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9382
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Item aliases are automatically created in the Russian language
« Reply #5 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).
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

its4yougr

  • Beginner
  • *
  • Posts: 36
    • Κατασκευή ιστοσελίδων Θεσσαλονίκη - Web Design
  • VirtueMart Version: VM3
Re: Item aliases are automatically created in the Russian language
« Reply #6 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
Κατασκευή Ιστοσελίδων Θεσσαλονίκη - http://www.its4you.gr/
WebDesign Internet Marketing - http://www.webdesign-internetmarketing.com/

d0ublezer0

  • Jr. Member
  • **
  • Posts: 133
Re: Item aliases are automatically created in the Russian language
« Reply #7 on: November 28, 2016, 13:50:18 pm »
hello, Milbo!
in latest version (3.0.18) there are predefined hidden constants in config file:
Code: [Select]
[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.

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 155
    • Bulgarian Computer Store
Re: Item aliases are automatically created in the Russian language
« Reply #8 on: March 04, 2017, 08:26:04 am »
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.

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.
No pain, no gain, no site!

its4yougr

  • Beginner
  • *
  • Posts: 36
    • Κατασκευή ιστοσελίδων Θεσσαλονίκη - Web Design
  • VirtueMart Version: VM3
Re: Item aliases are automatically created in the Russian language
« Reply #9 on: March 05, 2017, 10:21:42 am »
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
Κατασκευή Ιστοσελίδων Θεσσαλονίκη - http://www.its4you.gr/
WebDesign Internet Marketing - http://www.webdesign-internetmarketing.com/

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 155
    • Bulgarian Computer Store
Re: Item aliases are automatically created in the Russian language
« Reply #10 on: March 06, 2017, 09:36:42 am »
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.
No pain, no gain, no site!

MKI-Miro

  • Jr. Member
  • **
  • Posts: 132
Re: Item aliases are automatically created in the Russian language
« Reply #11 on: September 05, 2017, 21:02:12 pm »
Hi

I added transliterateSlugs=1 to virtuemart.cfg

But virtuemart still generates sef with áíé

What do I wrong?

Thanks

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9382
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Item aliases are automatically created in the Russian language
« Reply #12 on: September 06, 2017, 10:13:27 am »
Did you store the config?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

MKI-Miro

  • Jr. Member
  • **
  • Posts: 132
Re: Item aliases are automatically created in the Russian language
« Reply #13 on: September 06, 2017, 21:30:36 pm »
yes when i reopen filezilla i can see it there

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 155
    • Bulgarian Computer Store
Re: Item aliases are automatically created in the Russian language
« Reply #14 on: September 06, 2017, 21:42:34 pm »
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.
No pain, no gain, no site!