Viewing 6 replies - 1 through 6 (of 6 total)
  • This is available in the latest version 1.6. If you have a translation to contribute, please let me know.

    Not sure if it’s an improvement with the language support. As it used to be I could easily translate the form labels in my text editor by editing fieldset.js. Now I have to do something with creating a po/mo file using a special po-editor? Which file has to be created exactly?

    Wouldn’t it be easier to just have a plain text config/translate file?

    How do you create the language file? Re-writing the file “clean-contact.mo” or creating a new language specifying “clean-contact-es_ES.po” and “clean-contact-es_ES.mo.”
    I tried to create the translation and there is no way to be reflected on the web.

    Same problem here. Tried with different PO and MO file names (xx_XX, clean-contact-xx_XX,…) but the form still displays english strings. Which filename structure should be used?

    Hi I had the same problem … I have modified something and It worked for me:
    First the name of the MO & PO file is clean-contact-xx_XX

    I have modified the code of the file clean_contact_conf.php:
    1) I have replaced the first line with:
    <?php load_plugin_textdomain('clean-contact', null, basename(dirname(__FILE__)));
    2) I have changed all the translated string in the document and added the “clean-contact” value like this:echo __('*string*','clean-contact')
    3) I have added the translation for the “setting description”

    I hope it work for you
    Sorry for my bad English

    Here the new code modified of the clean_contact_conf.php file:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Here the modified file:
    I use pastebin for the first time I hope it work 🙂

    clean_contact_conf.php file

    clean_contact.php file

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Clean-Contact] Multi language support’ is closed to new replies.