Copied to clipboard

Flag this post as spam?

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


  • Christian Dalager 6 posts 26 karma points
    Jul 18, 2011 @ 13:06
    Christian Dalager
    0

    Localizing "{0} is mandatory"

    I'm having a lot of danish users create forms and would love to be able to localize the default string.formatted validation messages.

    Have anyone tried this?

  • Comment author was deleted

    Jul 18, 2011 @ 13:45

    You can simply use dictionary items.

    Make sure the langauge is setup on the nodestructure and you have a dictionary item.

    Them simply set the message to #YourDictionaryKey

  • Christian Dalager 6 posts 26 karma points
    Jul 18, 2011 @ 14:14
    Christian Dalager
    0

    But I want to change the default value of "{0} is mandatory" to something nice and danish so my users don't have to change that for every new form.

    So if it is not possible to change the "{0} is mandatory" through a dictionary without actually changing the text for each form to #mymandatorydictkey, can I change the default value for each form somewhere? 

    An alternative way to do this, would of course be to create an empty form template with these settings, and instruct the users to use that, if changing the default isn't possible.

     

     

  • Comment author was deleted

    Jul 18, 2011 @ 15:02

    Well if you use the latest version there is a form new event you could use to set the value to what you want (so your content editors won't have to)

Please Sign in or register to post replies

Write your reply to:

Draft