• Hello.

    There are problems loading the translation generated by?translate.www.ads-software.com?(try with the Dutch language which is currently 100% complete) because the text domain is different from the slug.

    In?this file?and in the?.POT file?the text domain is?‘tpebl’, but the translation that is generated by?translate.www.ads-software.com?is based on the plugin slug?‘the-plus-addons-for-elementor-page-builder’.

    If you want to leave them different, but still want to load the translations generated by translate.www.ads-software.com, you need to make a change like this:

    $locale = get_user_locale();
    $locale = apply_filters( 'plugin_locale', $locale, 'tpebl' ); // phpcs:ignore
    unload_textdomain( 'tpebl' );
    load_textdomain( 'tpebl', WP_LANG_DIR . '/plugins/the-plus-addons-for-elementor-page-builder-' . $locale . '.mo' );

    before the line:

    load_plugin_textdomain( 'tpebl', false, basename( dirname( __FILE__ ) ) . '/lang' ); 

    in this file.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @itapress
    This is Divyang from The Plus Addons team.

    Thank you for bringing this to our attention and for your suggestions for a solution.

    We are working on this and will surely include it in our next release. We will also update you here on the same as well.

    We kindly ask for your patience.

    In the meantime, if you have any other concerns, please let us know.

    Best Regards.

    Thread Starter itapress

    (@itapress)

    Hello @divyangposimyth

    Is there any news on this topic?

    Thanks.

    @itapress
    Thank you for following up.

    This is in our plan. Our team will soon work on this.

    Best Regards.

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