Okay
  Public Ticket #4514428
Translation Issue with MarketKing (Loco Translate)
Open

Comments

  •  7
    Barni started the conversation

    Hi WebWizards Team,

    first of all, I want to say that I’m very impressed with the MarketKing plugin – it offers a wide range of powerful features and the support here is truly outstanding.

    However, one of the biggest challenges I see with the plugin is achieving a clean and complete translation. My platform runs in German (formal), and while most strings are translated correctly, certain strings simply remain untranslated even though I use Loco Translate.

    For example:

    "Are you sure you want to approve this refund? This is irreversible."

    As you can see in the attached screenshot, I cannot find this string in either MarketKing Core or MarketKing Pro, and the same happens with several other sentences.

    Could you please take a look at this and help me identify how to translate these missing strings properly?

    Thank you very much in advance!

    Best regards,

    Attached files:  Bildschirmfoto 2025-11-08 um 17.55.31.png
      Bildschirmfoto 2025-11-09 um 10.27.46.png
      Bildschirmfoto 2025-11-09 um 10.27.19.png
      Bildschirmfoto 2025-11-09 um 10.25.59.png

  •  2,637
    WebWizards replied

    Hi Barni,

    Thank you for the kind words about MarketKing and for reaching out,

    For both of your Loco Translate translations (MarketKing Core and MarketKing Pro), please click on the "Sync" button (Synchronisieren in German) - it seems your translation templates might be out of sync with the current plugin version.

     

    The specific string you mentioned "Are you sure you want to approve this refund? This is irreversible." is located in MarketKing Core. After clicking Sync and then saving, you should be able to find and translate it. I checked and I do see it on my end: https://prnt.sc/EQZ_LIG0FeE5

     

    Additionally, please add this code snippet to your site (you can add it to your theme's functions.php file or use any code snippets plugin):

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

    This is important for translating script-based strings, especially those that appear in the vendor dashboard.

     

    Let me know if there's anything specific you still cannot find after these steps!

    Kind regards,
    Stefan

  •  7
    Barni replied

    Hi Stefan,

    sorry for the late reply and thank you for your detailed response.

    Unfortunately, it still does not work on my side. I followed your steps, synced both MarketKing Core and MarketKing Pro in Loco Translate, saved everything, and also added the provided code snippet. However, the string is still not appearing or being translated, and the same issue applies to several other strings as well.

    At the moment, this is my last and biggest hurdle before going live, so I really need urgent help to get this resolved properly.

    I would highly appreciate your further support on this.

    Kind regards,

  •  2,637
    WebWizards replied

    Hi Barni,

    Thank you for the update and sorry to hear it's still not working on your end.

    Since this is working in our tests, I think the best next step would be for us to check this directly on your site. Could you share an admin login to the site or a staging clone? That way we can troubleshoot this properly and get it resolved for you.

    Also, you mentioned having problems with several other strings - could you let me know what exact strings those are so I can check them as well?

    Kind regards,
    Stefan

  •  7
    Barni replied

    Hi Stefan,

    thank you for your reply.

    Further below I listed a few concrete examples of strings that are still not being translated. In addition, I attached another screenshot with one more example.

    I have been working on this platform for a very long time, also together with developers, but this translation problem has been there from the very beginning, already at the time when I decided to buy MarketKing and B2BKing. So far nothing has helped.

    Unfortunately I cannot publish the website like this, it looks very unprofessional and could scare off potential customers. That is why I kindly ask you to take ownership of this issue and resolve it properly. I assume I will not be the only one facing this problem.

    I will send you the credentials privately for my admin account.

    Thank you very much.

    Kind regards,

    Attached files:  Bildschirmfoto 2026-01-22 um 15.22.59.png

  •   Barni replied privately
  •  7
    Barni replied

    Hello Stefan, 

    any new update?


    BR

  •  2,637
    WebWizards replied

    Thank you for the access details,

    I checked this on your site and found the issue - the German translation was missing a lot of strings (only 553), whereas the French translation correctly had 1400+.

    6688722739.png

    After investigating, I discovered that the .pot translation template file inside your MarketKing Core folder was damaged and corrupted - it was only ~60kb instead of the expected 180kb. This is quite unusual - somehow the template file on your specific installation became corrupted and no longer matched the default version that ships with the plugin. It's hard to say exactly how this happened, but it could be related to an incomplete update, a file transfer issue, or something similar on the server side.

     

    I have restored this file to the default version and resynced translations, and now they have 1531 strings as per the latest version:

    6499111500.png

     

    You should now be able to find all of the strings mentioned:

    5055643495.png

    6108070022.png

    4420951894.png

     

    Let me know if you see any further issues,

    Kind regards,

    Stefan

  •  7
    Barni replied

    Hello Stefan, 

    some sentences still cannot be translated, at least they are now visible in Loco Translate, but the translation itself does not work. Examples can be found in the attachment.

    BR

    Attached files:  Bildschirmfoto 2026-01-26 um 19.43.21.png
      Bildschirmfoto 2026-01-26 um 19.43.41.png

  •  7
    Barni replied

    Hello Stefan,

    I just wanted to follow up on my last message.

    Thank you for identifying and fixing the corrupted .pot file and for resyncing the translations. I can now see many more strings in Loco Translate, which is definitely an improvement.

    However, I am still experiencing translation issues on my side. Some strings are either still not being translated or behave inconsistently in certain scenarios. Because of this, I am currently blocked from going live, as the platform still looks unprofessional in German.

    Could you please let me know if you have any further insights or next steps we can take to fully resolve this? I just want to make sure nothing else is missing or misconfigured.

    Thanks again for your support and looking forward to your feedback.

    Kind regards,

  •  2,637
    WebWizards replied

    Hi again,

    Thank you for the details,

     

    I noticed the site was using a slightly older version of MarketKing Core (official one on wordpress.org is 2.1.10). I suspect this is causing some mismatches in line numbers or texts and probably explains the issues with the .pot corruption. I deactivated your existing version and uploaded + activated the latest one:

    9554590682.png

    After doing that I see that text shows correctly, so it looks like that was the issue.

    2859194234.png

     

    I am not sure why your site was under an older one. Plugins on Wordpress.org have automatic updates through WordPress, that is not something we control on our end. 

    Could it be that you may have some custom modifications to the Core plugin files?

     

    I have not deleted the existing version, to make sure you do not lose any content or data. If you need it, you can simply deactivate one version of MarketKing and then activate the other.

     

    Kind regards,

    Stefan