Copied to clipboard

Flag this post as spam?

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


  • vladzebu 59 posts 346 karma points
    Jul 28, 2009 @ 07:53
    vladzebu
    0

    create custom DocumentType

    I want to create custom DocumentType . 

    When i 'm in Settings -->DocumentType and i click create to appear my custom DocumentType . 

    I want to choose the language for this documenttype for the Languages that i have in Settings/Languages . 

    I want to have my own implementation for multilanguage . In content after i create my own language to choose for every item version for languages from a combobox , not multiple tabs or multiple website for every language .

    I think i have to modify a lot in umbraco . Somebody can help me ? 

    Best regards, Vlad. 

  • Jesper Hauge 298 posts 487 karma points c-trib
    Jul 28, 2009 @ 08:29
    Jesper Hauge
    1

    Hi Vlad

    You're absolutely right Umbraco is not designed to implement multilanguage sites in this way. So going down this route would require a lot of coding.

    Are there any specifik reasons you want to do it this way instead of the usual way, assigning languages to the domains attached to the nodes?

    Regards
    Jesper Hauge

  • vladzebu 59 posts 346 karma points
    Jul 28, 2009 @ 08:49
    vladzebu
    0

    I don't like to see a long tree if i have 15 language for example . 

    If  i want to use virtual tab it's not k again . 

    I think it's an ellengant implementation but not simpler implementation . 

    If somebody use the code from umbraco , please help me with some documentation , how to modify . 

    Best regards , Vlad. 

  • Petr Snobelt 923 posts 1535 karma points
    Jul 28, 2009 @ 09:16
    Petr Snobelt
    0

    You can create node for each language. Then create your own implementation of tree, which show only first item and hide nodes for other languages. Then create custom datatype which allow you to switch between nodes.
    You can use relation api to group nodes (http://blog.hendyracher.co.uk/umbraco-relation-api/)

    Petr

  • Bent Kjelsberg 1 post 20 karma points
    Jul 28, 2009 @ 12:24
    Bent Kjelsberg
    0

    I'm trying to create a multilingual 1:1 page (German/French).

    Unfortunately I get stock at stepp N° 4 by

    "

    <xsl:template match="/">
        <xsl:call-template name="setlang" />
        ...
    </xsl:template>

    "

    Where I do have to add this code ?

    Thank's for helping :-) !

  • vladzebu 59 posts 346 karma points
    Jul 28, 2009 @ 12:32
    vladzebu
    0

    @BENT > In the header of your site . 

  • vladzebu 59 posts 346 karma points
    Jul 28, 2009 @ 12:33
    vladzebu
    0

    @Bent i put in the header of the pages because i have a generic header for all the the pages . 

    Best regards , Vlad 

Please Sign in or register to post replies

Write your reply to:

Draft