New Landing How can we help? Themeforest Theme Support Nota Problem with translation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Nota
  • #329983
    prodgoriche
    Member
    Post count: 20

    Hi

    I’ve hard time to translate the theme with the child theme. (It only works when I edit inside the theme itseft as per the tutorial)
    /wp-content/themes/nota/languages/

    I’ve uncommented the line in the fonctions file : load_theme_textdomain(‘swiftframework’, get_stylesheet_directory().’/language’);
    I’ve created the folder ‘language’
    I’ve put the fr_FR.po and fr_FR.mo in that file. But those files do not override the parent theme.

    Could you take a look please.

    Thanks

    #329984
    prodgoriche
    Member
    Post count: 20
    This reply has been marked as private.
    #329985
    prodgoriche
    Member
    Post count: 20
    This reply has been marked as private.
    #329995
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please change this:

    load_theme_textdomain('swiftframework', get_stylesheet_directory().'/language');

    To this:

    load_theme_textdomain(‘nota’, get_stylesheet_directory().’/language’);

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register