Forums

[Plugin: Fast and Secure Contact Form] Japanese Language (2 posts)

  1. Webbstre
    Member
    Posted 1 year ago #

    I would like to translate the form text (not the settings) to Japanese. I notice in the plugin's folder there are a lot of languages, but no Japanese, an nowhere I could see to load other languages. Is there a special way I should handle this? I would rather not have to edit the main file and lose my edits after an update.

    http://wordpress.org/extend/plugins/si-contact-form/

  2. Mike Challis
    Member
    Posted 1 year ago #

    How to translate my plugins:
    There may already be translation in your language, check before you
    start! Check the FAQ or look in the plugin languages folder.

    I use the free poEdit to translate, it is easy to translate.
    http://www.poedit.net/

    Translating With poEdit:
    -----------------------------------------
    1. Download and install poEdit
    http://www.poedit.net/

    2. Download the plugin POT file, look for the link below or find it
    in the plugin languages folder.

    Fast and Secure Contact Form
    http://wordpress.org/extend/plugins/si-contact-form/
    http://svn.wp-plugins.org/si-contact-form/trunk/languages/si-contact-form.pot

    SI CAPTCHA Anti-Spam
    http://wordpress.org/extend/plugins/si-captcha-for-wordpress/
    http://svn.wp-plugins.org/si-captcha-for-wordpress/trunk/languages/si-captcha.pot

    Visitor Maps
    http://wordpress.org/extend/plugins/visitor-maps/
    http://svn.wp-plugins.org/visitor-maps/trunk/languages/visitor-maps.pot

    3. Open the pot file in poEdit.
    4. (See Image) http://codex.wordpress.org/File:po_edit_windows.jpg

    The box labeled (1) is the original message (in English) from the POT
    file. The box labeled (2) is where you add your translation. Boxes
    labeled (3) and (4) are used for adding comments about the messages.
    These come in handy if you are working with a team of translators and
    would like to pass around ideas through the PO file.
    5. Go to File > Save as… to save your translations in a PO file.
    6. When you are finished translating, click "Save Catalog" to
    generate the .po and .mo files.

    The country code is part of the file name:
    Italian (it_IT)

    The Italian files of my contact form plugin are named like this:
    si-contact-form-it_IT.mo
    si-contact-form-it_IT.po

    There are some strings with a space in front or end -- please make sure
    you remember the space!
    * When you have a translation ready, please send
    the .po and .mo files to wp-translation at 642weather dot com
    * If you have any questions, feel free to email me also. Thanks!

    Here is how to switch the language in WP:
    -----------------------------------------
    Put the translated file in the plugin folder:
    /wp-content/plugins/si-contact-form/
    si-contact-form-it_IT.mo
    si-contact-form-it_IT.po

    Set WPLANG inside of wp-config.php to your chosen language. For example,
    if you wanted to use Italian:
    define ('WPLANG', 'it_IT);

Topic Closed

This topic has been closed to new replies.

About this Topic