Copied to clipboard

Flag this post as spam?

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


  • Nick Garrard & Davy Belmans 25 posts 142 karma points
    Jul 03, 2013 @ 16:54
    Nick Garrard & Davy Belmans
    0

    How to setup up a multi-language shop ?

    Hi,

    I installed uWebshop 2.2.0.4 on a Umbraco 4.9.11 website and I'm trying to set up a website + webshop in 2 languages (NL/FR).  I also installed the Sandbox Starterkit.

    I created 2 nodes (nl/fr) and set the right hostnames on the nodes.  I also installed the Goyaweb Multi-language tools package. I can switch languages in my website.

    Then I created 2 stores (nl and fr) and linked them via the store picker to node nl and fr.

    I created some categories and some products under the productnode.

    I'm able to go to the product page, but this page doesn't take the language into account.  When I try to put the language after the site name (xxx.be/nl/....) he doesn't find the product.

    Is there any documentation about setting up multi-language webshops ?  Or can you help me getting started ?

    Thx

    Nick

  • uWebshop 35 posts 140 karma points
    Jul 03, 2013 @ 17:25
    uWebshop
    0

    Hi Nick,

    You setup uWebshop for multi-language correctly for multi-store/multi-lingual.

    Can you explain what is missing by 'doesn't take the language into account'?
    Did you read this documentation to set values per store: https://uwebshop.zendesk.com/entries/22859461-Overrule-global-uWebshop-values-in-the-catalog-per-store

    Also in this document: https://uwebshop.zendesk.com/entries/23708133-Razor-Navigation-API is described how you could simply link to the same product, but in a different store by giving the store alias.

    Best,

    uWebshop Support

  • Nick Garrard & Davy Belmans 25 posts 142 karma points
    Jul 04, 2013 @ 10:04
    Nick Garrard & Davy Belmans
    0

    Hi,

    Thanks for answering.  I've made a clean umbraco installation online, installed the package and setup some basic templates.

    You can have a look at : http://cdb.alt64.be/

    As you can see, you can switch language.

    I've created 2 stores, linked them on the nl/fr node and put the navigation script of the sandbox package in the template to show all categories.

    When I switch language I still get the category url's without language (swith to fr, 'wijn' should have url cdb.alt64.be/fr/wijnfr).  I've also created a url_fr property on the category documenttype like you mentioned in the documentation.

    If you wan't I can send you an email with a login to have a look.

    Kind regards

    Nick

  • uWebshop 35 posts 140 karma points
    Jul 04, 2013 @ 11:13
    uWebshop
    0

    Nick,

    Could it be that 'umbracoHideTopLevelNodeFromPath" is set to 'true' in web.config?
    Then this setup would only work if you would set a different hostname to the NL and FR nodenames.

    Best,

    uWebshop Support 

     

  • Nick Garrard & Davy Belmans 25 posts 142 karma points
    Jul 04, 2013 @ 11:26
    Nick Garrard & Davy Belmans
    0

    Hi, almost ...

    I changed it to "false".

    Now I get the french title of the category and a french url, but it doens't include the 'fr' in the url (he renders url of wijn category like this http://cdb.alt64.be/wijnfr/ when it should be http://cdb.alt64.be/fr/wijnfr/). 

    grtz

    Nick

     

     

  • uWebshop 35 posts 140 karma points
    Jul 04, 2013 @ 11:31
    uWebshop
    0

    Intersting... It might help if you republish the NL and FR node (and maybe the store nodes as well) before the new setting is picked up properly by Umbraco and uWebshop.

     

  • Nick Garrard & Davy Belmans 25 posts 142 karma points
    Jul 04, 2013 @ 13:03
    Nick Garrard & Davy Belmans
    0

    Hi,

     

    Republished the nodes, didn't work, I wrote a small script to show the categories, maybe i'm doing something wrong ?

    tried: @c.NiceUrl(), @c.Url, @Navigation.NiceUrl(c.Id)

    @inherits umbraco.MacroEngines.DynamicNodeContext
    @using uWebshop.RazorExtensions
    
    @{
        var categories = Catalog.GetCatalog().Categories;
    
        foreach (var c in categories)
        {
            var url = @c.NiceUrl();
            <a href="@url">@c.Title</a> 
        }
    }
  • uWebshop 35 posts 140 karma points
    Jul 04, 2013 @ 13:14
    uWebshop
    100

    Hi Nick,

    Can you create a support ticket at our support site: https://uwebshop.zendesk.com/anonymous_requests/new

    You can leave your Umbraco login details there as well, so we can take a quick look.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies