Viewing 15 replies - 1 through 15 (of 17 total)
  • Have you look to your configuration settings ?
    The text is in the plugin settings and not in the pot file

    Thread Starter jpmarceorg

    (@jpmarceorg)

    Thanks a lot, I looked into the settings and the phrase

    Please type the characters of this captcha image in the input box

    is correctly translated.

    So I don’t understand why the translation of this particular phrase is not working. Note that the translation of most of the other phrases in the admin or user interfaces are ok.

    I hope you can figure out what is happening.

    Once this is fixed, I will certainly try to translate the 31 unstranslated phrases.

    Can you provide a complete screenshot of the plugin settings (not the translation tab but the conf tab)

    Thread Starter jpmarceorg

    (@jpmarceorg)

    Here is the config. I hope you can read it. Otherwise I can put it as a PDF on my site
    Paramètres

    Voici les paramètres du plugin. Modifier les afin de satisfaire vos besoins.

    Voulez-vous activer les CAPTCHA pour les commentaires postés ?
    Oui/Non (seulement pour les commentaires soumis) :

    Le Captcha sera comme suit :

    Utiliser le Captcha même si l’utilisateur est enregistré

    ATTENTION : Si vous activez cette option, le captcha ne fonctionnera que pour les utilisateurs avec un rôle parmi : Subscriber, Contributor, Author
    Le Captcha sera affiché (par exemple pour vérifier que l’affichage est correct, que les feuilles de styles fonctionnent…) mais sera non fonctionnel avec les utilisateurs ayant un rôle parmi : Editor, Administrator

    Le captcha propose une séquence de lettres en minuscules

    Le captcha propose de trouver la solution d’une addition

    Nombre de lettres :

    La valeur par défaut : 5

    (entier)

    Largeur de l’image :

    La valeur par défaut : 200

    (entier)

    Hauteur de l’image :

    La valeur par défaut : 80

    (entier)

    Angle maximal +/- des lettres :

    La valeur par défaut : 35

    (entier)

    Taille des lettres :

    La valeur par défaut : 30

    (entier)

    Couleur du fond :

    La valeur par défaut : 555555

    Couleur de la casse (lettres) :

    La valeur par défaut : BBBBBB

    Variation des couleurs des lettres :

    The color of the letters are not homogenous

    Variation des couleurs du fond :

    The color of the background are not homogenous

    Pourcentage de différence entre la couleur des lettres et celle de l’arrière plan

    (entier)

    Le HTML qui sera inséré dans vos pages afin d’afficher les images de Captcha :

    The default HTML is:

    <div class=’captcha_image’>
    <p>Please type the characters of this captcha image in the input box</p>
    %image%
    <input type=’text’ id=’captcha_comment’ name=’captcha_comment’ />
    </div>

    The CSS that will be inserted in your page to display captcha image:

    The default CSS is:

    .captcha_image {

    }
    .captcha_comment {

    }

    Remarque : %s sera remplacé par l’image captcha

    Vous pouvez ajouter un commentaire, par exemple pour bien indiquer que le résultat de l’addition doit-être correct

    The image will be slightly distorded:

    Voulez-vous utiliser l’API de Akismet afin de vérifier que les commentaires ne sont pas des spams ?
    Oui/Non :

    Captcha in Contact Forms
    Add a captcha on Contact Form 7:

    Please install first this plugin Contact Form 7.

    In the form, please use the shortcode [spam_captcha] to display the captcha.

    Paramètres avancés
    Enlever statistiques plus vieux que (en jours) :

    Stats older than the predetermined number of days will be deleted to save database space.

    0 signifie que rien ne sera modifié

    (entier)

    Thread Starter jpmarceorg

    (@jpmarceorg)

    Here is the config tab in a PDF :

    http://saint-jeannet.info/img/config-spam-captcha.pdf

    Thread Starter jpmarceorg

    (@jpmarceorg)

    Here is a copy of my config tab in a PDF file :

    http://saint-jeannet.info/img/config-spam-captcha.pdf

    Whar is the text inside the configuration parameter named “Le HTML qui sera inséré dans vos pages afin d’afficher les images de Captcha :”

    Thread Starter jpmarceorg

    (@jpmarceorg)

    here is this text :

    <div class='captcha_image'>
    <p>Please type the characters of this captcha image in the input box</p>
    %image%
    <input type='text' id='captcha_comment' name='captcha_comment' />
    </div>

    Guess what do you have to change in that box 🙂

    The translation are ONLY for the programming part of PHP not for the custom field the user may type: this is normal a translation cannot anticipae all the different text you may type

    Thread Starter jpmarceorg

    (@jpmarceorg)

    Ok, this is changed. But why the *.pot files are not used ? It is misleading as these files are present in the lang sub-directory of the plupin.

    Moreover, I suggest a note to be added in the parameters tag in the box entitled “Le HTML qui sera inséré dans vos pages afin d’afficher les images de Captcha :” telling the user that the text in the “HTML to be inserted” box is not translated by what is written in the tranlation tab.

    Thanks again. Since I install this plugin there is no more any spam in the comments of my articles. This was not the case with another captcha plugin.

    The pot file are only used for texte to be translated in the code of the plugin ie. the PHP part
    <?php __('text to be translated', 'plugin_domain') ?>
    There is no way (programmatically speaking) to detect the text to be translated from a user input.

    Thread Starter jpmarceorg

    (@jpmarceorg)

    OK, I translated in the tranlation tab some of the not yet translated phrases, the .mo and .po files have been sent to you. And the corresponding files have been updated on my web hosting side. But, I can no more open the French translation in the translation tab in order to try to translate the two remaining untranslated phrases.

    How did you edit the po/mo file ?

    Thread Starter jpmarceorg

    (@jpmarceorg)

    I edited the po file with Poedit, just to understand that my translation was taken into account.

    i cannot tell you why ! My editing tools may be quite strict and do not support all the funny things that poedit may add

    The aim of my tool is not to be fully compatible with every external tool but to ease the translation

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘No translation to French for just one line of text’ is closed to new replies.