Copied to clipboard

Flag this post as spam?

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


  • Kieron McIntyre 117 posts 360 karma points
    Oct 20, 2011 @ 17:26
    Kieron McIntyre
    0

    Can I create language variations of a label for a DocumentType field?

    I have a project that will allow users from different cultures to use the Umbraco UI and so I need the labels (and descriptions) of fields within a DocumentType (e.g. Event or News Article) to appear in the relevant language.

    Is this possible? I know that I can change the language of the UI but obviously this will not affect the the field labels that I have created for my document types.

    The only way I can think of doing this is by creating a new set of datatypes which use a custom dictionary (or the Umbraco dictionary).

    Thanks.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Oct 20, 2011 @ 17:35
    Tom Fulton
    0

    Hi Kieron,

    Yes, you can use a dictionary item for your Property Names,

    ie:  #BodyText

    I am not 100% sure if it works on the Descriptions or Tabs though, you'll have to test :)

    Note I think you'll also need to set each user's language in the User settings.

    -Tom

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 20, 2011 @ 17:38
  • Kieron McIntyre 117 posts 360 karma points
    Oct 20, 2011 @ 17:39
    Kieron McIntyre
    0

    Nice and quick! Many thanks for that Tom, I'll give that a go.

    Would still love to know about descriptions and tabs. Anyone?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 20, 2011 @ 17:41
    Dirk De Grave
    0

    Should be similar, add '#' and make sure to translate the tabs. I'm not sure about descriptions to be honest.

     

    Cheers,

    /Dirk

  • Kieron McIntyre 117 posts 360 karma points
    Oct 20, 2011 @ 17:59
    Kieron McIntyre
    0

    Yes, thanks for the answers guys. It works for field labels, descriptions and tabs in the same way.

    Much appreciated.

  • 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