Norwegian url contains swedish words

Vote:
 

Hi,

I have deployed my episerver7 site on test server but norwegian url contains some swedish words.Please see the below url for details.

https://abc.no/someswedishwords.

Instead of someswedishwords there should be somenorwegianwords.

Could you please let me know if any setting is missing.

#113445
Nov 20, 2014 14:44
Vote:
 

What do you mean by norwegian url contains swedish words? is there a page in the CMS that has a name in the url set to these swedish words?

more details needed..

#113453
Nov 20, 2014 22:16
Vote:
 

ok,Please find the description below.

I have added this settings for accessing norway and swedish language in episerverframework.config file.

<siteHostMapping>
<siteHosts siteId="abc">
<clear />
<add name="*" />
<add name="testapp.abc.no" language="no" />
<add name="testapp.abc.se" language="sv" />

</siteHosts>
</siteHostMapping>

we have our site in two languages i.e norwegian and swedish.

we have published a page in both norwegian and swedish language

When i am accessing https://testapp.abc.se/sv-Page

then it is showing that Page is written in swedish language in the url which is correct.

And when i am accessing https://testapp.abc.no/sv-Page

then it is showing that Page is written in swedish language in the url but content is in norwegian.Page should be written in norwegian language i.e no-page in this case.

And this happening for all the pages created in CMS.

Could you please help me to resolve above mentioned issue.

#113455
Nov 21, 2014 6:54
Vote:
 

Sounds like this is excatly how it should be. If you are accessing .no site and you see Norwegian content - this means that EPiServer has correctly set content language according to host mappings.

Page name in URL does not change from language to language by default. If you want to change from Swedish name to Norwegian one - you just have to edit a page "Name in URL" property.

#113456
Nov 21, 2014 8:30
Vote:
 

The default behavior to clone the original values of name and name in url when doing translations can be a bit confusing sometimes. Sometimes editors change name but forget to change "name in url" when they translate pages.

#113461
Nov 21, 2014 10:06
Vote:
 

Yes for a page "page name in web address" property set for both languages but still norwagian page shows swedish web address of the page and swedish page shows swedish adress.

#113473
Nov 21, 2014 11:28
Vote:
 

Did I understand correctly?

Swedish page:

  • Name in URL "this-is-sv-page"
  • Visited by: http://server.sv/this-is-sv-page/

Shows Swedish content

Norwegian page:

  • Name in URL "this-is-no-page"
  • Visited by: http://server.no/this-is-sv-page/

Shows Norwegian content?

#113479
Nov 21, 2014 12:54
Vote:
 

Yes, you are absolutely right.

Any idea why it is behaving like that.

#113483
Nov 21, 2014 13:58
Vote:
 

Hi Valdis,

do you have any solution for above mentioned issue?

It was working fine in episerver5.2 site but it is not working as desired after migrating from episerver5.2 to 6.0-->6.1 and then 7.0 site.

Please reply to this mail.

#113576
Nov 25, 2014 6:40
Vote:
 

Not sure what's going on there. Something similar side-effect could be possible with some language replacement or fallback configuration. But guess that's not an issue in your case..

#113643
Nov 26, 2014 8:08
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.