Copied to clipboard

Flag this post as spam?

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


  • Alexander 3 posts 62 karma points
    Dec 18, 2014 @ 15:25
    Alexander
    0

    how to create a multilingual website.

    Good afternoon.

    Please tell me how to create a multilingual website for Umbraco. Must be having one site to go at it from different domains:

    - www.mydomain.com move to the English version of the site

    - www.mydomain.ru go to the Russian version of the site.

    What has already been done:

    1. set up in IIS two sites:

    -lokalhost: 8040 - English version

    -lokalhost: 8041 - the Russian version

    they all refer to the same site.

    2. in the administrative part made two node:

    - Homepage (in the language and domains assigned language is English and the local host address lokalhost: 8040)

    - Home page2 (in the language and domains assigned Russian language and domain local host address: lokalhost: 8041)

    So did in Link

    But, unfortunately, for some reason, nothing works ... if you try to go to different hosts, I constantly popodalis the English version of the site.

    Please tell me which direction Motor and what to do.

    For earlier thanks a lot.

    Alexander

    PS sorry but Plooy English

    P.S. ps how to translate the controls depending on the version of the site. at this stage, all the names of control elements are written in the resource file. Whether this is done and how to set the right choice resource file depending on the language?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 18, 2014 @ 18:10
    Dennis Aaen
    101

    Hi Alexander and welcome to our,

    To me it sounds like you have the right approach to it when it comes to a multilingual website in Umbraco. Since I assume that you are new to Umbraco I think that I help you with some good starting points learning Umbraco and learning how to build a multilingual website in Umbraco.

    The first starting point is some written documentation on the basic concepts of Umbraco, on how to create a basic website. http://our.umbraco.org/documentation/Using-Umbraco/Creating-Basic-Site/ and Blake Smith has written a newbie guide on this year advent calendar on how to set up an Umbraco Website. http://24days.in/umbraco/2014/how-to-set-up-an-umbraco-site/

    In addition to the written documentation, you will so be able to find some videos toturials on how to work with Umbraco on Umbraco TV. The video tutorias are showing the basic concepts of working with Umbraco. Some of the videos are free to watch, but other require that you subscribe to Umbraco TV. You can find the plans and prices here: http://umbraco.tv/plans-signup/

    You can find the videos about how to edit content in your Umbraco installation here http://umbraco.tv/videos/umbraco-v7/content-editor/, and how you setup the backend, with templates stylesheets, and so on here. http://umbraco.tv/videos/umbraco-v7/implementor/ On of the milestones in Umbraco is the concept called document types. On the document types you difine which fields should be editble for the user. If you have a page document type you could for instance have fields for headline, teaser body text and so on, here are the video chapter about document types. http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/document-types/what-is-a-document-type/

    For the part of your question about how to translate the controls depending on the version of the site, you could use what Umbraco calls dictionary items. Try to see this video about the subject. http://umbraco.tv/videos/implementor/multi-lingual/creating-a-multi-lingual-site/creating-dictionary-items/ http://umbraco.tv/videos/implementor/multi-lingual/creating-a-multi-lingual-site/using-dictionary-items/, but as you can see these videos requires that you subscribe to the Umbraco TV service. You could also check out this post http://24days.in/umbraco/2013/the-dictionary-secrets/ from the last year advent calendar, on how to use and structure your dictionary items, written by Jan Skovgaard, just beware that it´s shows the XSLT syntax, for the Razor MVC syntax please look here, http://our.umbraco.org/documentation/Reference/Templating/Macros/Razor/using-dictionary-items and the way that you called it in MVC, is like: umbraco.GetDictionaryItem("dictionaryItemAlias") be awre to refer to the name of your dictionary item where it says “dictionaryItemAlias” and this be unique

    For the question about how working with a multilingual website in Umbraco, you could have a look at the creating a multi lingual site chapter http://umbraco.tv/videos/implementor/multi-lingual/creating-a-multi-lingual-site/introduction/  this chapter also requires that you subscribe to the Umbraco TV service.

    Hope this heps,

    /Dennis

  • Alexander 3 posts 62 karma points
    Dec 23, 2014 @ 09:42
    Alexander
    0

    Thank you so much. Your answer helped me a lot :)

Please Sign in or register to post replies

Write your reply to:

Draft