WordPress.org

Support

Support » Themes and Templates » Translation ?

Translation ?

  • Hi, thank you for this beautiful theme..!
    I try to translate it in french, I have created .po and .mo files, but translation is not workink…
    Do you have any solution for me ?
    Thanks !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Slocum Themes
    Member

    @slocumstudio

    Hi maitremo,

    We’re glad that you like the theme! Our themes are translation ready, but we have not yet created the translation files.

    Are you sure that you have created/implemented your .po and .mo files correctly?

    Thank You

    1. Add this code to – functions.php

    add_action('after_setup_theme', 'my_theme_setup');
    function my_theme_setup(){
        load_theme_textdomain('socialize', get_template_directory() . '/lang');
    }

    2. Create the templates folder of named /lang/
    3. paste files .po, .mo to the directory /lang/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translation ?’ is closed to new replies.