Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Samir Shah

    (@solarissmoke)

    Hi carmano,

    I have no idea why the automated installer didn’t download the language files – possibly a glitch with the www.ads-software.com servers.

    The link is also generated by www.ads-software.com, and it seems there is a bug in their system. Please use this one instead: Conditional CAPTCHA (zip – latest).

    Some of the translations are a bit out of date – so you may find that some things are still in English! Updates are welcome.

    Thread Starter Fabian

    (@carmano)

    Thanks, I will try it later, can’t access a ftp client right now ??

    Thread Starter Fabian

    (@carmano)

    Actually, the languages folder was existing. So it was ok (except the 404 error)

    How do you use it? For your information, I am using qTranslate to change the language, maybe your plugin is not compatible?

    Plugin Author Samir Shah

    (@solarissmoke)

    WordPress will automatically load translations in the language that you have specified in your configuration file (WP_LANG).

    qTranslate is a plugin for translating your WordPress content. It can’t be used to translate plugin messages.

    Thread Starter Fabian

    (@carmano)

    Thanks for the precision. Finally, I change manually the file “wp-conditional-captcha.php” to hardcode the translation.

    For example:

    Before:
    $this->page(__('Verification required', 'wp-conditional-captcha'), $html);

    After:
    $this->page(__('[:en]Verification required[:fr]Vérification requise'), $html);

    It works, but it is very specific for me (french and english with qTranslate). Also I will have to do these changes everytime I will update the plugin…

    Because it was not enough and the language was always in french, I also needed to change the file “comments.php” of my theme to provide the correct language. Note that all these changes are specific to qTranslate.

    Before:
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

    After:
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php<? _e('[:en]?lang=en[:fr]?lang=fr'); ?>" method="post" id="commentform">

    Now the plugin is displaying the good language to enter the Captcha.
    Hope that helps qTranslate users.

    The title of this thread is not so good, it should be “Making the plugin working with qTranslate”, I don’t think I can change it…

    Plugin Author Samir Shah

    (@solarissmoke)

    Thanks – I can’t change the title either but have added a tag for qtranslate.

    Fabian, check out Codestyling Localization. The plugin already supports languages so you just need to add your phrases in.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Where are the translations?’ is closed to new replies.