Change activity link on a multi language site
-
Hi
I am running Weglot translation plugin. This plugin put a language link behind the url.
For example if I am using English as the main language and I switch to German it will put ‘/de’ behind the url.This gives no problem for all the drop down menu items, but only for the activity link.
Where in the function files can I change this?
I would like to add something like this:
{
$language = Weglot::Instance()->getCurrentLang();
if ($language==’en’)
{$urladd=””;
}
else
{($urladd=”/”.$language);
}
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Change activity link on a multi language site’ is closed to new replies.