Issues getting current page url with locale

Hello! I have trouble getting the current url with locale:
link rel=“alternate” hreflang=“en-GB” href=“{{|localePage(‘en-gb’) }}”>
link rel=“alternate” hreflang=“x-default” href=“{{|localePage(‘sv-SE’) }}”>

It works well on default language, but when i switch locale - both of the above will get the en-url.

Hi @Hsan,

Look at this thread:

Will (hopefully) fixed in the following update.

1 Like