Forum Replies Created

Viewing 15 posts - 31 through 45 (of 53 total)
  • Posted in:
  • in reply to: Problem with character encoding #137971
    wildfox
    Member
    Post count: 58

    ok thank you Mohammad

    in reply to: Problem with character encoding #137835
    wildfox
    Member
    Post count: 58

    I did it several times but it doesn’t change anything…

    in reply to: Problem with character encoding #137831
    wildfox
    Member
    Post count: 58

    Hi,

    What do you mean? Those strings are already in my po file so I don’t understand your answer.

    in reply to: Backend translation #136233
    wildfox
    Member
    Post count: 58

    Perfect! thank you Ed

    in reply to: Backend translation #136226
    wildfox
    Member
    Post count: 58

    Very nice! thank you
    Can I apply this method to other strings with similar filter (ex: rwmb_image_delete_string)?

    in reply to: Backend translation #136197
    wildfox
    Member
    Post count: 58

    Well, the plugin Real Time Find And Replace doesn’t work at all in that case, so this is not a solution.

    in reply to: Backend translation #136191
    wildfox
    Member
    Post count: 58

    Hi,

    What a shame, I was expecting a better solution.
    I hope you will fix it in a next release because it is important for foreign back-end users.

    regards

    in reply to: Backend translation #135994
    wildfox
    Member
    Post count: 58

    Hi,

    I tried something else without success.
    I created a new pot file and placed the mo file in my child theme with that path:
    my-child-theme/swift-framework/meta-box/inc/fields
    Then I added the following function in my child theme functions.php

    function my_child_theme_setup() {
        load_child_theme_textdomain( 'swift-framework-admin', get_stylesheet_directory() . '/swift-framework/language' );
        load_child_theme_textdomain( 'rwmb', get_stylesheet_directory() . '/swift-framework/meta-box/inc/fields' );
    }
    add_action( 'after_setup_theme', 'my_child_theme_setup' );

    The first load is for Meta Options tabs content and it’s fine.
    Any help would be nice.

    in reply to: Backend translation #135854
    wildfox
    Member
    Post count: 58

    I’ve duplicate the file from dante/swift-framework/language/en_US.po, then I renamed it to fr_FR.pot so I could add all missing meta options keychains in it.
    Now the fr_FR.mo is in my child theme (child-theme/swift-framework/language/).
    Everything works fine for all meta options keychains, excepted for buttons.

    in reply to: Backend translation #135823
    wildfox
    Member
    Post count: 58

    Hi,

    I’m making a new fr_FR.pot file for my child theme containing all missing keychains (meta options for post/page).
    Everything works fine excepted for buttons.

    I’d like to get translated buttons displayed in post/page meta options tabs.

    They can be found in dante/swift-framework/meta-box/inc/fields/image-advanced.php. For example line 70:
    $i18n_title = apply_filters( 'rwmb_image_advanced_select_string', _x( 'Select or Upload Images', 'image upload', 'rwmb' ), $field );

    So I added the following code in my pot:

    #. Text in function
    #: dante/swift-framework/meta-box/inc/fields/image-advanced.php:70
    msgid "Select or Upload Images"
    msgstr "Sélectionner ou charger des images"

    It is not translated. Did I missed something?
    What about that _x, should I declare it differently?

    Regards

    in reply to: Swift Framework Translations Location for child theme? #135111
    wildfox
    Member
    Post count: 58

    Thank you so much Rui, it works like a charm.

    in reply to: Swift Framework Translations Location for child theme? #134766
    wildfox
    Member
    Post count: 58

    I’m sorry, I was searching solution for Dante and found this thread. So my mistake…
    Should I post again in Dante section?

    in reply to: Swift Framework Translations Location for child theme? #134760
    wildfox
    Member
    Post count: 58

    Hi,

    I’ve added the code in my child theme functions.php then I’ve created the languages folder and puted my new fr_FR.mo files inside but it doesn’t work.

    I need to get Meta Options tags and content translated, it’s found in swift-framework/meta-boxes.php file but it seems that it is not possible to get it translated.

    exemple of a tab title found in meta-boxes.php

    $meta_boxes[] = array(
    		'id' => 'thumbnail_meta_box',
    		'title' => __('Thumbnail Options', $text_domain),
    		'pages' => array( 'post', 'portfolio' ),
    		'context' => 'normal',
    		'fields' => array(

    Are you planning to make Meta Options translatable as well as Theme options in the back-end?

    regards

    in reply to: extend shortcode list #134514
    wildfox
    Member
    Post count: 58

    ok I understand, so I’ll think again about using page builder.
    thank you

    in reply to: Backend translation #128451
    wildfox
    Member
    Post count: 58

    ok, as soon as I have time to do it, I will proceed as requested.
    My pleasure 😉

Viewing 15 posts - 31 through 45 (of 53 total)