VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Darko F. on February 22, 2024, 13:36:10 PM

Title: How to change manufacturer name in URL link
Post by: Darko F. on February 22, 2024, 13:36:10 PM
Hi all
I have multi language website and will like to change
A link wich shown all manufacturer product.

From 
https://shop.tuamv.com/sl/manufacturer/bahne
to
https://shop.tuamv.com/sl/proizvajalec/bahne

so from - manufacturer - to - proizvajalec -  in URL

Is there some language constant to do this ?

Thank you
Title: Re: How to change manufacturer name in URL link
Post by: Milbo on February 23, 2024, 12:10:28 PM
Search for the file en-GB.com_virtuemart.sef.ini in components\com_virtuemart\language\en-GB

copy this file to your language directory and rename the en-GB to your language tag. Then just translate the file and please share it :-)
Title: Re: How to change manufacturer name in URL link
Post by: Darko F. on February 24, 2024, 19:56:02 PM
Thank you Milbo for answer

In may case even when I change

COM_VIRTUEMART_SEF_MANUFACTURER="proizvajalec"
COM_VIRTUEMART_SEF_MANUFACTURERS="proizvajalci"

It didn't work. So after another whole day research I did find that you need to have in

Configuration - > SEO - > Translate Strings -> Yes

When I enable this option it's working :)

Hope this helps someone.