• The error handling for the forms runs via JavaScript (“Parsley”), and the error messages are always displayed in English. There’s a lot of translations from the Parsley community, however, to activate them, an additional script has to be loaded, but only after the basic script (cf. enqueue-scripts.php) has already been loaded. Therefore, the possibility of doing this from outside the plugin is probably ruled out. Do you have any clue?

    • This topic was modified 1 year, 1 month ago by Hanno.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help.

    So if I understand correctly, you need a way to add a script after jquery.parsley.min.js, correct?

    Thread Starter Hanno

    (@bsoftde)

    Correct. I could do this using an editor, but I would love to have a permanent solution 🙂

    Plugin Author Jeff Starr

    (@specialk)

    Okay thanks. I can add an action hook that fires right after the parsley script, so another enqueue function could be added to add whatever scripts are needed. Would that work for you?

    Thread Starter Hanno

    (@bsoftde)

    That would be great, thank you.

    Plugin Author Jeff Starr

    (@specialk)

    Ok will do.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Localization for Parsley strings’ is closed to new replies.