I have deployed my episerver7 site on test server but norwegian url contains some swedish words.Please see the below url for details.
Instead of someswedishwords there should be somenorwegianwords.
Could you please let me know if any setting is missing.
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..
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.
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.
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.
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.
Did I understand correctly?
Shows Swedish content
Shows Norwegian content?
Yes, you are absolutely right.
Any idea why it is behaving like that.
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.
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..