Public Ticket #3971257

Issue with Incomplete Translation in MarketKing via Loco Translate

Closed
Comments
21 Tickets 8
Barni started the conversation 1 year ago on April 25, 2025 at 8:13pm

Hello WebWizards Team,

I am using Loco Translate to translate the MarketKing plugin. I have translated the page from English to German, but I noticed that some parts (see attachment) are either not translated correctly or cannot be adjusted via Loco Translate.
Could you please check if these parts are properly prepared for translation?

Thank you very much for your support!

Best regards,

2,762
KingsPlugins replied 1 year ago on April 27, 2025 at 9:46pm

Hi there,

The pagination there is handled through scripts. It can be translated, by adding the following PHP code snippet to your site:

add_filter('marketking_tables_language_option_setting', function($lang){
    return 'German';
}, 10, 1);

 

This snippet can be added to functions.php, or by following our guide here: https://b2bkingplugin.com/docs/how-to-add-a-snippet-php-or-js/

 

This should automatically translate all pagination / datatables / scripts related areas.

Let me know if that works for you,

Stefan

Sign In