• Hi,

    Trying this promising theme on a French installation, I noticed that the slide out sidebar/menu button that sais “AFFICHER” in french correctly after page load but as soon as the button is clicked and the sidebar slides out, the text changes to “HIDE”. And when clicked again to close the sidebar, it changes to “SHOW”.

    In the translation file these strings are present and translated, but apparently the slide-out script does not take translations into account.

    Not sure yet if I’m going to use this theme for the current project but if so, I’ll be working on a fix and share it here 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @ravanh,

    Thank you for reporting this!

    I was able to replicate after changing the site language on my test installation of Coherent to French. However, I wasn’t able to replicate the switch back to English after changing the site language to Welsh.

    This indicated a problem with the French translation file, rather than with the way the theme’s slide-out script.

    I took the following steps to fix the problem:

    • Navigated to the Languages directory for Coherent.
    • Deleted the existing fr_FR.mo and fr_FR.po files from the directory.
    • Exported the latest French translations for the theme as .mo and .po files via the bottom of this page.
    • Uploaded the new files to the theme’s Languages directory and renamed them as fr_FR.mo and fr_FR.po.

    Can you give the above steps a try and let me know how you get on?

    Thanks!

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Hi @siobhyb

    This indicated a problem with the French translation file, rather than with the way the theme’s slide-out script.

    Good spot!

    Per your suggestion I did this:

    1. went to https://translate.wordpress.org/projects/wp-themes/coherent/fr/default and exported as .mo
    2. renamed the file to coherent-fr_FR.mo and uploaded it to the /wp-content/languages/themes/ directory
    3. refresh page and checked menu name.

    It now indeed goes back and forth from Afficher to Cacher like it should.

    Thanks for your help!

    I’m glad to hear that everything’s working correctly now, @ravanh!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Menu show/hide text translation bug’ is closed to new replies.