• Resolved Sylvain Martineau

    (@sylvain-martineau)


    Hi !

    First, sorry for my English !

    Problem with the arrows back in blog articles… Always have this ” %s ” before the preceding title

    Exemple :

    ← %s Pech : Autochtones de la compassion
    Vers une ? koalisation ? du communautaire!

Viewing 15 replies - 1 through 15 (of 22 total)
  • Theme Author bradthomas127

    (@bradthomas127)

    @sylvain Martineau – Looks like the french translation of the theme is messed up. I’ll look into it.

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    I don’t have the official french version, but the US version with a translation found on the net…

    https://www.zenbien.com/wordpress-en-anglais-25-fois-plus-rapide-que-la-version-en-francais

    Because according to this guy the official French is slower… But knowing that it is there, I should find the source of the problem (or I’ll install the official French version). Thank you again!

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    And the translation :
    https://www.zenbien.com/wordpress-3-3-1-fichiers-de-traduction-principal-et-theme-francais

    Oops, I just saw that the theme Leaf was also the French file, maybe it comes from there too.

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    Working now ! thank very much ! ^^

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    Hello!
    I installed the official French version, but now I have a new problem … parts are not translated … here’s what I noticed so far:

    CATEGORY ARCHIVES:
    Full Article →

    The link :
    https://pech.great-heberg.eu/wordpress/category/blogue/

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    Hello!

    It seems that every file included in fr_FR.PO “\ themes \ leaf \ languages??” is not taken into account.

    Options in wp-config.php define (‘WPLANG’, ‘fr_FR’) is present…

    Is there something in particular to enable the translation of a theme ?

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    In theme-functions.php, I have this line… something to do with my problem ?

    /**
    * Make Leaf available for translation.
    * Translations can be added to the /languages/ directory.
    * If you’re building a theme based on Leaf, use a find and replace
    * to change ‘leaf’ to the name of your theme in all the template files.
    */
    load_theme_textdomain( ‘leaf’, get_template_directory() . ‘/languages’ );

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    Hello!

    Problem solved! Just in case, I tried in “Poedit” option “update from a file .POT” (in this theme file), and it has corrected what was wrong!

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    … but (arg), now I have the return of the first problem… ^^

    ← %s Pech : Autochtones de la compassion
    Vers une ? koalisation ? du communautaire! →

    Hello Sylvain,
    you may find the solution now.
    Otherwise edit the fr_FR.po file and saves.
    We see that there is a not desired “%s” in the translation …

    #: single.php:21
    msgid "<span class=\"meta-nav\">&larr;</span>"
    msgstr "<span class=\"meta-nav\">&larr;</span> %s "

    Bonjour sylvain,
    tu as peut-être trouver la solution maintenant.
    Sinon avec Poedit édite le fr_FR.po et enregistre.
    On voit qu’il y a un %s en trop dans la traduction …

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    Merci infiniment !

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    It still does not work! I’m getting a bit desperate! The line has been corrected and the% s is still too …

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    “Bonjour sylvain,
    tu as peut-être trouver la solution maintenant.
    Sinon avec Poedit édite le fr_FR.po et enregistre.
    On voit qu’il y a un %s en trop dans la traduction …”

    Pourtant ?a avait l’air d’être la solution… Je ne comprends pas…

    esmi

    (@esmi)

    These are English language forums, so please use English. Alternatively, use a WP support forum in your language.

    Thread Starter Sylvain Martineau

    (@sylvain-martineau)

    Maybe you can help me ??

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Problem with the arrows back’ is closed to new replies.