New Landing How can we help? Themeforest Theme Support Joyn Troubles with child theme localization / translations

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Joyn
  • #179234
    wilhem
    Member
    Post count: 105

    Hi team,

    I don’t know why i can’t translate theme in child theme using this =

    	
    	function my_child_theme_setup() {
    	    load_child_theme_textdomain( 'swiftframework', get_stylesheet_directory() . '/language' );
    	}
    	add_action( 'after_setup_theme', 'my_child_theme_setup' );
    

    I usually use codestyling-localization to edit po/mo files. Everything is ok, but no results appears in backend.

    Can you help me ?
    I’ll provide you access in private.

    Best regards,
    Wilhem

    #179236
    wilhem
    Member
    Post count: 105
    This reply has been marked as private.
    #179853
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    can’t connect with that ftp credentials, can you check again?

    I think the directory name is wrong in your code above, guess it should be languages instead language.

    Give it a try.

    -Rui

    #179854
    wilhem
    Member
    Post count: 105

    Hi Rui,

    Damned.. You are right, there is an IP restriction. Client is off for week-end, i’m not sure i will succeed to add you IP..

    Can you try another way ?

    Folder’s name is ‘/languages’.
    ( first code was a mistake ) Actually code :

    	function my_child_theme_setup() {
    	    load_child_theme_textdomain( 'swiftframework', get_stylesheet_directory() . '/languages');
    	    load_child_theme_textdomain( 'swift-framework-admin', get_stylesheet_directory() . '/languages');
    	}
    	add_action( 'after_setup_theme', 'my_child_theme_setup');
    

    Thanks a lot,
    Wil

    Attachments:
    You must be logged in to view attached files.
    #179907
    wilhem
    Member
    Post count: 105

    Hello,

    In fact, terms are translated with “swiftframework” but not admin terms / module with ” swift-framework-admin “.

    Best regards,
    Wilhem

    #180128
    wilhem
    Member
    Post count: 105

    Hi Rui,

    Ok, i found something. Since last versions, you entered the Swift frameworks Plugin ; indeed, i was not able to translate admin strings inside child theme.

    Well, then i translated from the plugin.
    I could successfully translated some of module names but i couldn’t translate many of inputs inside as “Meta boxes”, options, …

    Can you check it ? It seems many of strings are missing

    Best regards,
    Wilhem

    #180794
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    maybe it’s from the Redux framework we use, try to translate the following translation domain.

    redux-framework

    -Rui

Viewing 7 posts - 1 through 7 (of 7 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