translation , localization of hot_responsive

Hot WordPress Themes Support Forum WordPress Themes Responsive translation , localization of hot_responsive

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #640
    Leclerc
    Participant

    Hello,
    After purchasing your hot_responsive theme for WordPress, I need to localize the theme in FR
    However the standard process (use of load_theme_textdomain function..)don’t works
    In addition I saw in your functions.php:line7 that you have commented the ligne :
    //load_theme_textdomain(“hot_responsive”, get_template_directory() . ‘/languages’);

    and replaced this line by the following lines:
    $locale = get_locale();
    $locale_file = get_stylesheet_directory_uri() . “/languages/$locale.php”;
    if ( is_readable( $locale_file ) )
    require_once( $locale_file );

    Please, could you comment AND explain How is it possible to localize your theme in other language than EN.

    I have uncommented the ligne 7 (see above) and put a hot_responsive-fr_FR.mo file in directory /wp-content/languages/themes and it works. However I am not sure if some drawback effects could occurs.

    Also It would be nice if you provide in your distribution .po file for all of your themes

    Yours sincerely
    Denis

    #1693
    milos
    Moderator

    Hi Denis,

    Sorry for delay. Please check the attached file (unzip it first). Is this what you needed to make your translation?

    Regards,
    Milos

    [attachment=3277]wp_hot_responsive_po.zip[/attachment]

    #1699
    Leclerc
    Participant

    thank you Milos !

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.