WordPress.org

Ready to get started?Download WordPress

Forums

SpeakUp! Email Petitions
[resolved] Customize default information in field (6 posts)

  1. silvae
    Member
    Posted 1 year ago #

    Hello

    I want to change the default information "prénom" and "nom" in the two first fields of the petition in order to translsate it in english, but it seems they are not customizable. I want to do this because the plugin in located in french but I have an english version of the petition in the same website. Can you help me ?

    http://wordpress.org/extend/plugins/speakup-email-petitions/

  2. silvae
    Member
    Posted 1 year ago #

    I mean, is it possible to translate "Name" and "first name" in the plugin in another langage, without relocalize the plugin ?

  3. Kreg Wallace
    Member
    Plugin Author

    Posted 1 year ago #

    If you want the to have petitions in multiple languages on the same site, then you will need to use WPML. You can see a demo petition in multiple languages here that uses WPML for the translations.

    I haven't tried qTranslate, but its a free plugin that seems to work on a similar principle to WPML.

    Or you could just grab a free copy of PoEdit and edit the plugin's French translation file (dk_speakup-fr_FR.po) to use both languages on those particular strings, like changing "prenom" to "First Name / prenom".

  4. silvae
    Member
    Posted 1 year ago #

    I tried to edit the dk_speakup-fr_FR.po file and changing strings for first name and last name, but it did not work, can you help me ?

  5. Kreg Wallace
    Member
    Plugin Author

    Posted 1 year ago #

    When you edit and save the dk_speakup-fr_FR.po file from PoEdit, it will also generate a file with a different extenesion: dk_speakup-fr_FR.mo. Copy your new .PO and .MO files back into the languages folder on your server. That should do it.

    .PO files are uncompiled source files that you can use to make edits.

    .MO files are the compiled files that WordPress uses to display translations

  6. silvae
    Member
    Posted 1 year ago #

    Thank you very much, it works !!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.