Thread Starter
silvae
(@silvae)
I mean, is it possible to translate “Name” and “first name” in the plugin in another langage, without relocalize the plugin ?
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”.
Thread Starter
silvae
(@silvae)
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 ?
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
Thread Starter
silvae
(@silvae)
Thank you very much, it works !!!