Author Topic: Category URL redirects wrong language on multilingual site  (Read 816 times)

kemal

  • Beginner
  • *
  • Posts: 6
  • A beginner
Category URL redirects wrong language on multilingual site
« on: February 28, 2017, 15:27:48 pm »
Hi,

I have 4 languages installed on my joomla environment along with virtuemart.
I have defined seo urls for each language on virtuemart for both products and categories.

It displays correct translation but wrong url.

When i display product in Turkish (or any other language for that matter) there is no problem on translations. However when i click on category urls to display product it redirects to english url. This happens on category module and shopfront also.

You can check url in order to understand the matter.
https://www.birpet.net/tr/urunler/defne-jar-5000-tr-detail

Above url is for a Turkish url for a product. As you can see there is a module on right hand side which displays categories (Module name: Ürün Grupları)
When you click an url from that module (by the way trasnlation is correct) it redirect to English category page and everything becomes english. And this is my problem

This is first time i use Virtuemart, i have managed to set up everything easly but i am sure i am missing something about it.
Your precious help will be much appreciated.

Info about environment;
VirtueMart 3.0.18
Joomla 3.6.5
PHP 7.0.10
Flex Theme

(each language has it`s on theme)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26205
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.4 on Joomla 3.8 PHP 7.0.23

Testing VM3.2.5 on J!3.8

kemal

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Category URL redirects wrong language on multilingual site
« Reply #2 on: February 28, 2017, 15:38:06 pm »
Thank you for reminding.
Info about environment;
VirtueMart 3.0.18
Joomla 3.6.5
PHP 7.0.10
Flex Theme

kemal

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Category URL redirects wrong language on multilingual site
« Reply #3 on: February 28, 2017, 15:47:08 pm »
I have just figured that this is a template related issue. I will be waiting for any help though.

kemal

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Category URL redirects wrong language on multilingual site
« Reply #4 on: March 01, 2017, 10:32:27 am »
Any help or suggestion? Not even a single one? Seriously?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26205
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.4 on Joomla 3.8 PHP 7.0.23

Testing VM3.2.5 on J!3.8

kemal

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Category URL redirects wrong language on multilingual site
« Reply #6 on: March 01, 2017, 13:09:43 pm »
http://forum.virtuemart.net/index.php?topic=104795.0

None of them applies to my question. Thank you though i do not get lonely because of your your messages. They do not make any statements or sometimes i think of you as a reply bot, it is fun to have replies.

stawebnice

  • Jr. Member
  • **
  • Posts: 221
  • What does not kill you, makes you stronger...
    • StaWEBnice - www stránky, seo optimalizace a copywriting
  • Skype Name: peta_ze_sklepa
  • VirtueMart Version: 3.0.19.7
Re: Category URL redirects wrong language on multilingual site
« Reply #7 on: March 01, 2017, 13:37:16 pm »
Do you use JoomSEF or another SEF component?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26205
  • Always on vacation
    • Jenkin Hill Internet
Re: Category URL redirects wrong language on multilingual site
« Reply #8 on: March 01, 2017, 13:49:44 pm »
None of them applies to my question.

You have not allowed enough time for people to reply. Someone who maybe knows the answer to your might only visit the forum once every few days or so.....  You said that you have "figured that this is a template related issue" but not said how you made that conclusion.
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.4 on Joomla 3.8 PHP 7.0.23

Testing VM3.2.5 on J!3.8

kemal

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Category URL redirects wrong language on multilingual site
« Reply #9 on: March 01, 2017, 14:18:47 pm »
Do you use JoomSEF or another SEF component?

I use Joomla SEF and Virtuemart Seo option enabled, there is no other SEF component.

fotonio

  • Beginner
  • *
  • Posts: 28
Re: Category URL redirects wrong language on multilingual site
« Reply #10 on: March 13, 2017, 17:03:29 pm »
In order to be able to switch from product category to its equivalent in another languages you have to create menus (hidden or visible) for each category and associate with other languages. For example for 4 languages you have to create 4 menus for each product category.
This will work for your category-to-category language switch but not for product-to-product because the virtuemart native possibilities does not support it.
If you want to have product-to-product labguage switching, you have to use a third party extension.