• Resolved adrienf

    (@adrienf)


    Hi,

    I wanted to ask if someone know how to change the language of Coeur Theme.
    I translate it in french but when I place my fr_FR.po et fr_FR.mo in coeur/frameworks/languages it doesn’t work…
    It’s very frustrating…
    Idea ???
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Frenchtastic

    (@titouanc)

    Hi,

    Simply edit this line in your wp_config file.

    Existing code:
    define ('WPLANG', '');

    Change it to:
    define ('WPLANG', 'fr_FR');

    Hi,
    To have my own translation into French working fine I changed this line in the framework/general.php file :
    Existing code

    load_theme_textdomain(‘coeur’, get_template_directory() . ‘framework/languages’);

    Added a “/” before “framework” :

    load_theme_textdomain(‘coeur’, get_template_directory() . ‘/framework/languages’);

    HTH
    Very nice theme indeed.

    Theme Author Frenchtastic

    (@titouanc)

    Hi,
    Thanks for your feedback, I’ll make sure to fix this in the next theme update.
    Glad to hear you appreciate it.
    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to enable new languages’ is closed to new replies.