Issues getting current page url with locale

Hello! I have trouble getting the current url with locale:
link rel=“alternate” hreflang=“en-GB” href=“{{ this.page.fileName|localePage(‘en-gb’) }}”>
link rel=“alternate” hreflang=“x-default” href=“{{ this.page.fileName|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.