Copied to clipboard

Flag this post as spam?

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


  • Philip Hayton 4 posts 74 karma points
    6 days ago
    Philip Hayton
    0

    Magic Strings in Radio List

    Hi guys,

    Please can someone clarify whether it's possible to use magic strings as values in a radio list? I'm sure I've seen magic strings used to create multi-lingual back ends...

    Basically I want to have translated string values of a radio list, something like this:

    • [#DataTypes.MyDataType.Value1]
    • [#DataTypes.MyDataType.Value2]
    • ...etc

    Which would then pull from the Dictionary.

    I can't for the life of me get it working. Not sure if I'm being silly, or whether it's simply not possible.

    Any help is greatly appreciated!

    Kind regards

    Phil

  • Lee Kelleher 3853 posts 14459 karma points MVP 8x admin c-trib
    6 days ago
    Lee Kelleher
    0

    Hi Phil,

    I haven't tried it myself, but I agree that it'd be great for the labels to work that way.

    Which version of Umbraco are you using? I'm happy to take a look at the core source, see if it can do it or not.

    Cheers,
    - Lee

  • Lee Kelleher 3853 posts 14459 karma points MVP 8x admin c-trib
    6 days ago
    Lee Kelleher
    100

    I've had a quick look at both v7 and v8 branches of Umbraco core.

    Unfortunately it doesn't do what you wanted, (neither does the dropdown list editor).

  • Philip Hayton 4 posts 74 karma points
    6 days ago
    Philip Hayton
    0

    Ah ok no problem, thank you for confirming!

Please Sign in or register to post replies

Write your reply to:

Draft