+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Sitemenu Localization

Sitemenu Localization

4 posts, 0 answered
  1. xor
    xor avatar
    42 posts
    Registered:
    04 Jan 2010
    21 Sep 2010
    Link to this post

    Hi,

    I created a new multilingual website with the languages Arabic, english and french. Arabic is my default language.
    I enable localization for the site:

    <localization defaultProvider="Sitefinity" persistenceMode="PathPrefix" defaultCulture="ar" cultures="ar, en, fr" autoSetClientLanguage="False"> ...

    and allowed localization for sitefinity modules:

    <add name="Generic_Content" allowLocalization="true"...
    ...

     

    Then I created different language versions of the pages and added a sitemenu control to my templates.

    My issue is that the SiteMenu control shows only the menu items for arabic pages and doesn't show them for the other languages after a different language is selected from the language selector. (see attached)

    Thanks in advance.
    Fadi

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    21 Sep 2010
    Link to this post
    Hi Fadi Raheel,

    Thank you for using our services.

    The SiteMenu control is bound to a SiteMap data source. This means that it automatically gets your pages for the current culture you are on. If for example you are on French version of the website the SiteMenu will list all pages for the French version automatically - as long as they are set as navigable (Show in Navigation property is set to true from page properties) and the current user has the rights to see those pages.

    I remember that you have been changing the default culture of the website. You should make sure that in your database the english versions of the pages have language id 9 and the french versions have language id 12. The default language version pages should have language id 127 (invariant culture). You should look at the tables: sf_PageContentBase, sf_CmsPageContent, sf_StagedPageContent, sf_CmsCtrlLinks, sf_StagedCtrlLinks. If you have wrong culture ids for your English and French pages the
    query from this forum post will help you fix them.

    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. xor
    xor avatar
    42 posts
    Registered:
    04 Jan 2010
    22 Sep 2010
    Link to this post

    Hi Radoslav,

    Actually this is a new website where I managed to set the default culture from the beginning to avoid the issue i had in my other site . I checked the pages and they are all set as navigable.

    Thanks.


  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    22 Sep 2010
    Link to this post
    Hi Fadi Raheel,

    This seems quite odd. Can you please try to reproduce this issue in a sample project and send us the project in a support ticket? We will take a look at it and see what might be wrong.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered