Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anthony Candaele 1197 posts 2049 karma points
    Feb 05, 2011 @ 11:43
    Anthony Candaele
    0

    problem with multilingual site and navigation

    Hi,

    Currently I'm implementing a multingual website in an Umbraco 4.5.2 install

    This is my site structure:

    - en
    ..methodology
    ..om shell
    ..software

    - nl
    .. methodologie
    .. om shell
    .. software

    The problem I have, is that if click on a page, say software.aspx, the system cannot figure out if this is a page for the Dutch website or the English website, since there are two pages called 'software', one under the node of the English homepage (en) en one under the node of the Dutch homepage (nl)

    How can I solve this?

    Thanks for your help,

    Anthony Candaele
    Belgium

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 05, 2011 @ 12:14
    Jan Skovgaard
    1

    Hi Anthony

    You need to setup the hostheaders for each branch using the "mange hostnames" function, which will appaers when you right click a node.

    If you have not done so already you need to add the dutch language in the "settings" section under languages. Just right click and choose.

    Then setup the hostnames.

    If you're doing a local development currently you can just set it up like en.local and nl.local (if you have set this up in your hosts file of course, and then you need to configure the sites in IIS as well).

    I hope this helps.

    /Jan

  • Anthony Candaele 1197 posts 2049 karma points
    Feb 05, 2011 @ 12:31
    Anthony Candaele
    0

    Hi Jan,

    Appreciate your help, I have edited the host names,

    so for the node 'en' I set the host name settings to:

    en.local
    language: English (United States)

    for the node 'nl' I set the host name settings to:

    nl.local
    language: Dutch (Belgium)

    In IIS I edited the bindings for my local website 'flexisle':
    I added the following host names:

    en.local
    nl.local

    I restarted IIS and tested the navigation of my multlingual site again, but under properties of, say the 'en' node, the properties for the software textpage are still referring to software.aspx. Only the property 'alternative link' is reffering to: http://en.local/software.aspx

    Have I overlooked something?

    greetings,

    Anthony

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 05, 2011 @ 12:35
    Jan Skovgaard
    0

    Hmmm

    Maybe you need to create two seperate sites in the IIS? It's been a while since I did a configuration so it's not fresh in my memory. But try this...:)

    /Jan

  • Anthony Candaele 1197 posts 2049 karma points
    Feb 05, 2011 @ 17:15
    Anthony Candaele
    0

    Hi Jan,

    I tried to get my multlingual website running on my local machine using seperate websites, but is isn't working.

    Currently I have this site structure in Umbraco:

    The properties of my pages under a site node, say the page 'methodology' under the site node 'en' look like this:

    but if I click the http://localhost/en/methodology.aspx link I get this message in the browser:

    Page not found
    No umbraco document matches the url 'http://localhost/en/methodology.aspx'
    umbraco tried this to match it using this xpath query'/root/*/* [@urlName = "en"]/* [@urlName = "methodology"] | /root/* [@urlName = "methodology"]')
    This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.

    Should I configure my web.config file?

    Thanks for your help,
    Anthony

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 05, 2011 @ 17:23
    Jan Skovgaard
    0

    Hi Anthony

    It should not be neccesary to make any modification in the web.config.

    Have you tried to republish the entire site and update the XML cache?

    /Jan

  • Anthony Candaele 1197 posts 2049 karma points
    Feb 05, 2011 @ 17:25
    Anthony Candaele
    0

    I did republish the entire site, but I did not update the XML cache, in fact, I don't know how to update the XML cache : )

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 05, 2011 @ 17:27
    Jan Skovgaard
    0

    When you go to the "Content" node and right click it you can choose to "Republish the entire site". All this does is to update the XML cache :-)

    /Jan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 06, 2011 @ 21:09
    Jan Skovgaard
    1

    Hi Anthony

    I'm sorry that I seem to have overlooked that you might not had made the proper setup in the hosts file but I guess that you know how to do that by now, as Chris have told you in this post? http://our.umbraco.org/forum/using/ui-questions/17070-multilanguage-settings-on-local-machine?p=0#comment63942

    I should really have been more clear about that. My bad :-)

    /Jan

  • Anthony Candaele 1197 posts 2049 karma points
    Feb 06, 2011 @ 21:30
    Anthony Candaele
    0

    Hi Jan,

    Indeed, I just tried Chris' solution, and it worked. Phew, that's one problem less. Now I just need to find a way to attach an .mdf file made with Sql Server Express 2008 R2 to a Sql Server WebEdition 2008 database. Apparantly Sql Server Express 2008 R2 (version 661) is not compatible witht Sql Server Webedition 2008 (version 655). Can you believe that!!

    Ultimately my client will have to upgrade his version of sql server to sql server 2008 R2 or I will have to downgrade my version of sql server on my development machine to sql server express 2008

    Sigh,

    Anthony

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 06, 2011 @ 21:40
    Jan Skovgaard
    0

    Hi Anthony

    Glad to hear you have one problem less :-)

    What? That is really weird. Major versions I can understand but minor revisions should not be incompatible - tough luck man :-/

    Hope you find a way around it.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft