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

Forums / 3.x Pre-release forums (retired) / Multi Lingual Content

Multi Lingual Content

43 posts, 0 answered
  1. Mat
    Mat avatar
    23 posts
    Registered:
    05 Nov 2006
    28 Jun 2007
    Link to this post
    Dear Telerik team,

    I didn't have much time to check all fixed and new features, but SP1 looks great.

    For viscious:
    First I experienced the same problems. Just make sure you remove all previous versions completely.
    Uninstall sitefinity and delete the sitefinity folder under program files\telerik and reinstall sp1. That should do the trick.

    Cheers,
    Mat
  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    28 Jun 2007
    Link to this post
    Hi Erick,

    We implemented page multilingual support the way it was described in previous posts in this thread and we cannot reproduce the issue you report. Please check the following steps for adding another language version of a page:

    For example, you have 2 languages (English and German).

    You have a page (Press) in English. You are adding the German version now (Select the page and click the language link you want to add):



    Fill the localizable properties such as MenuLabel, Title, etc.. and click Create this version.



    The page is displayed in Edit mode where you have two options: either edit the page version from scratch or copy the controls from the other language version. For example, you are choosing to copy from the English version.



    Then the page template, theme and all controls are copied from the English version and there is no relation between the controls in the English and German versions of this page.

     

    Please let us know if you are doing things different.

    Sincerely yours,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Vangelis
    Vangelis avatar
    153 posts
    Registered:
    07 Jan 2006
    28 Jun 2007
    Link to this post
    Hi Vlad,

    I've tried to add a new culture on web.config "gr" but when I tried to login it created an error that this is not supported. Can you please tell me how can I add localization for Greek language?

    The feature of copy frm another laguage is great and works ok. What I didn't find is how to have a selection on live site for a visitor to choose language? Do I have to do it manually or it is created automatically?

    Best regards

    Vagelis
  4. Vangelis
    Vangelis avatar
    153 posts
    Registered:
    07 Jan 2006
    28 Jun 2007
    Link to this post
    Something else I noticed when I tried to add an hyperlink control. There was no way to select a different page from the default (english). It would be nice to have an option to select pages from various languagew.

    Also when I had on admin panel selected Eglish on top right in Site map all pages only the pages belonging to this language where appeared while in the center site map all pages from all other languages where there. This islittle confusing since there is no way to have pages from a language all together in one place and not mixed.

    Best regards

    Vagelis
  5. viscious
    viscious avatar
    31 posts
    Registered:
    10 Aug 2006
    28 Jun 2007
    Link to this post

    Thanks for the info Vlad

    I was able to solve the problem by doing a complete uninstall and re install.   I was originally using the trial version of 3.0.  when I bought the license and installed 3.0 sp1 something must have not upgraded correctly.  After I did a clean install of 3.0 sp1, everything seems to be working fine.  (although the language bar control was still not on the controls menu, and I had to add it manually).

    One more question though.  Somewhere in one of the previous posts, it was said that there would be a way to show the entire site map, or just the pages in the current language.  Did this feature make it into the release? and if so, how can i change between the two options?

     

  6. viscious
    viscious avatar
    31 posts
    Registered:
    10 Aug 2006
    28 Jun 2007
    Link to this post
    I forgot one last question.

    Where can I find a list of languages and their language codes for the web.config file.

    Everytime I need to add a language I spend 30 minutes trying to guess the language code.   I haven't seen it documented anywhere in the telerik documentation.   There is probably a list of language codes somewhere in msdn, but I havent been able to find it.

    Also what would I do if i wanted to add an extremely uncommon language, or even a new made up language, such as something like klingon?  Is this even possible?  And if its not, is it a limitation of dot net, or is it a sitefinity limitation?
  7. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    29 Jun 2007
    Link to this post
    Hello,

    You can find the table of the culture codes here.

    We have a LanguageBar control which is used to select the current language. Unfortulately, it's not added in the toolbox, this is our omission. You can add it manually in the web.config:

    <cms defaultProvider="Sitefinity" pageExtension=".aspx" disabled="false">
     ...
     <toolboxControls>
      ...
      <add name="LanguageBar" section="Telerik" type="Telerik.Localization.WebControls.LanguageBar,Telerik.Localization"
         description="" />
     


    But our suggestion is to create a User Control, place the LanguageBar in the User Control and build your custom template. For example:

    <sfLoc:LanguageBar CssClass="setIn" ID="languageBar" PostBack="True" runat="server">
        <LayoutTemplate>
            <sfLoc:LanguageList ID="languageList" runat="server" CssClass="setIn">
                <ItemTemplate>
                    <asp:HyperLink ID="listItem" CssClass="emptyLang" runat="server"></asp:HyperLink>
                </ItemTemplate>
                <CurrentItemTemplate>
                    <asp:Label ID="listItem" CssClass="currentLang" runat="server"></asp:Label>
                </CurrentItemTemplate>
                <SelectedItemTemplate>
                    <asp:HyperLink ID="listItem" CssClass="filledLang" runat="server"></asp:HyperLink>
                </SelectedItemTemplate>
            </sfLoc:LanguageList>
        </LayoutTemplate>
    </sfLoc:LanguageBar>


    Vagelis,
      - Actually the code of the Greek language is el, not gr;
      - Unfortunately, the Hyperlink URL selector is not updated quite correctly according to the multilingual changes. We will fix it for the next release;

    Erick,
      - The SiteMap shows only the pages available for the current language.
      - Our implementation is based on the standard CulterInfo in the .NET Framework. And it is possible to create a custom culture. Find more info here.

    Hope this helps.
    Thank you for your remarks and suggestions.

    All the best,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    11 Jul 2007
    Link to this post
    Hi Everyone,

    Time to throw another wrench in the works!

    I have a client (a small private school) that wants to be able to have a landing page, like http://wesleyan.edu/, where the visitor can chose:

    For Parents
    For Students
    For Alumni
    For Potential Families
    For Faculty / Staff

    Then get directed to the appropriate place based on that selection.  Wesleyan has /alumni/ & /students/ & /parents/ etc.

    What they want is for the menus to be appropriate based on that initial selection.  So Application Forms would be shown to Potential Families, but not Students or Parents. Make sense?

    What I was thinking is that this is *close* to what we were doing with Languages.  Basically En = Parents, De = Students, Cz = Alumni, etc.

    We could then have a dropdown list with the different languages (Parents, Students, Alumni, etc.) and if you go to Contact Us for Alumni, you'd be @ /alumni/contact_us/index.aspx and all the other menus you saw were pages meant for Alumni.  If you went to contact us for Students, you'd be @ /students/contact_us/index.aspx and all the menus would be pages that were turned on for Students.  Does that make any sense?

    The only problem is that all the content will actually be in English.  I was, therefore, thinking of Shared Content, like SharedContactUs, for example.

    Am I trying to make this do something is wasn't intended to do, and therefore shouldn't be made to do, or do you think this could work.

    The biggest thing is basically having people be able to go in, pick an area that applies to them, and then be able to see navigation and content for them, specifically, and not have to see all the stuff that doesn't really apply to them.

    Have I made myself clear?  Do you think it could work?  Or is there a better way to do what I'm trying to accomplish?

    Thanks,

    Ben
  9. Bob
    Bob avatar
    330 posts
    Registered:
    24 Sep 2012
    12 Jul 2007
    Link to this post
    Hi Ben Alexandra,

    It is an interesting idea. There should not be any problem to accomplish this except that the language codes must be valid. Therefore you want be able to name your language, respectively the URL “Alumni” for example. Though, you might be able to create your own CultureInfo and give it that name.

    Alternatively you can crate group page for each branch and add pages to each one independently, just like subwebs. Then you need to crate separate template for each branch and set navigational controls so the starting node is the group page (home page) for the branch. This way pages outside the current branch will not be visible in navigation. I hope I’m clear enough.

    We will definitely consider providing an easier way to accomplish this similar to languages.

    Regards,
    Bob
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  10. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    12 Jul 2007
    Link to this post
    Hi Bob,

    That is an interesting idea, with the Group Pages, but doesn't really solve my primary issue of shared pages.  There are a lot of pages, like Contact Us, School History, Faculty & Staff Directory, etc. that are really shared and should be in everyone's sitemap, but then certain ones that really only belong in 1 or 2 sitemaps, just like Language, but they're all the same language.

    Would doing Languages but sharing content and adding Shared Content to those pages work?  Or would that just be too much hassle to manage.  They have about 100 pages in their site.

    Thanks

    Ben
  11. Bob
    Bob avatar
    330 posts
    Registered:
    24 Sep 2012
    12 Jul 2007
    Link to this post
    Hi Ben,

    I don’t see why it would not work. As I said my only concern is the URL, it will look kind of funny. You can choose QueryString as persistence mode so it won’t be so obvious.

    What is the deadline for this project? We might be able to provide something workable with 3.1.

    Greetings,
    Bob
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  12. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    21 Aug 2007
    Link to this post
    Hi,

    I'm running into a few problems with the control to change languages.  I have it on http://new.iaswece.org/index.aspx and it works fine in IE, but in Firefox, when you change languages it adds the domain name back into the URL.  So instead of going to ~/de/index.aspx it goes to ~/de//new.iaswece.org/index.aspx

    Using FF 2.0 and have tried from various computers.

    I'm having some other issues with multiple languages, but haven't yet figured out where the problem lies, so I can't post yet.  I will soon, though.

    Thanks

    Ben
  13. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    23 Aug 2007
    Link to this post
    Hello Ben,

    Thank you for reporting this issue. This is a bug in the client script of the LanguageBar control. We fixed it for 3.1 release.

    For the time being, you could set the persistenceMode to QueryString in the localization section in the web.config.

    Please let us know if the above solution is appropriate for you. Otherwise we could build new assembly, which contains a fixed version of LanguageBar control.

    Sorry for the inconvenience.
    Your telerik points were updated for this bug report.

    Kind regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
43 posts, 0 answered
1 2