New Landing How can we help? Themeforest Theme Support Dante Backend translation

Viewing 8 posts - 16 through 23 (of 23 total)
  • Posted in: Dante
  • #136029
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @wildfox,

    Sometimes translatable strings fail for various reasons. I’ll check on an update with the framework.

    You could try using this plugin – https://wordpress.org/plugins/real-time-find-and-replace/ . I’ve recommended it to a few people and they’ve all have good experience with it.

    – Ed

    #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

    #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.

    #136215
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Sorry, missed that the line of code has an apply_filters around it. This code will change the string for you! Just add to child theme:

    function custom_upload_images_string() {
        return 'your translation';
    }
    add_filter( 'rwmb_image_advanced_select_string', 'custom_upload_images_string' );

    – Ed

    #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)?

    #136232
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    If it has apply_filters() around it you can change the above code to match the filter name.

    – Ed

    #136233
    wildfox
    Member
    Post count: 58

    Perfect! thank you Ed

    #136559
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Thanks Ed.
    -Rui

Viewing 8 posts - 16 through 23 (of 23 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