We got an old 4.7.1 site and its multilingual however setup as
Content
en
cn
fr
etc etc, when you insert links in a country section the url does not contain the language prefix e.g. /en/whatever you get /whatever so is it possible to update that url i guess write an http handler or fudge with some javascript?
Just set it to true no joy, thing is this site was not designed by us and on the root nodes no domain is set the driver for language instance is www.whater.com/en /fr etc etc the host is only set in iis. Anyhow i have written some jquery to do it, I know that rte is contained within a div with specific class so i can target it and just update internal links in that area, also as we have a global language switcher i know which language they are in, not ideal but it works.
insert link url from rte
We got an old 4.7.1 site and its multilingual however setup as
Content
en
cn
fr
etc etc, when you insert links in a country section the url does not contain the language prefix e.g. /en/whatever you get /whatever so is it possible to update that url i guess write an http handler or fudge with some javascript?
Regards
Ismail
Hi Ismail
Has useDomainPrefix been set to true in the /config/UmbracoSettings.config file? If so I think that is perhaps the reason why?
/Jan
Jan,
Just set it to true no joy, thing is this site was not designed by us and on the root nodes no domain is set the driver for language instance is www.whater.com/en /fr etc etc the host is only set in iis. Anyhow i have written some jquery to do it, I know that rte is contained within a div with specific class so i can target it and just update internal links in that area, also as we have a global language switcher i know which language they are in, not ideal but it works.
Regards
Ismail
is working on a reply...