Forums

Slick Contact Forms
[resolved] The string "Processing..." should be user-changeable (translatable) (4 posts)

  1. Daedalon
    Member
    Posted 6 months ago #

    I've managed to translate all the strings that the plugin produces except the "Processing..." that is immediately shown after form submission. This string should be exposed in the plugin settings for translation.

    Affected version: 1.3.7.

    http://wordpress.org/extend/plugins/slick-contact-forms/

  2. remix4
    Member
    Plugin Author

    Posted 6 months ago #

    This is on line 768 of the jquery.slick.contact.1.3.2.js file:

    var $loading = $('<div class="loading">Processing ...</div>');

  3. Daedalon
    Member
    Posted 6 months ago #

    Thanks! Could it be possible to have it as a user-changeable setting in the usual, update-safe way in the next update?

  4. Daedalon
    Member
    Posted 6 months ago #

    Probably the best way to do it is to create that div in PHP, which allows for using multilingual strings with the __() function, which would translate the user-typed string "[:en]Processing...[:fi]Käsitellään..." as "Processing..." or "Käsitellään..." depending on the language used while viewing the page, and then use jQuery to toggle the visibility of this div.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.