I checked this on our local test site just now, and I was able to translate that string. I believe the issue here is that you need to translate it as part of the B2BKing Pro plugin as well - this is the string that loads at checkout.
Please try translating it in both B2BKing Pro and the B2BKing Credit Addon. In both plugins, please click on the 'Sync' button after opening the file with Loco Translate, so you have the latest template available.
For extra clarity, there is no need to translate B2BKing Core - all strings will be in either B2BKing Pro or in the Credit addon (or both).
This worked in my local tests, but if you are not able to get it working, could you share an admin login to the site or a staging site so we can check directly?
Thanks for your patience and for the login details.
I've taken a look at the site and adjusted a few things to resolve these issues:
1. "Available Credit" translation: I found one instance of this text in B2BKing Pro that wasn't translated (this specific string loads at checkout). I went ahead and translated it, and it seems to be working correctly now: https://prnt.sc/mM3F586NV0Fg. Please let me know if you still see it untranslated anywhere.
2. "Select User Role" translation: For this field, translating via Loco Translate doesn't work because the label is defined in the registration field settings directly (in the post settings). I checked the setup and saw you had already set it correctly. I tested this as a logged-out user and it appears translated on my end: https://prnt.sc/U-b5z79R9y3q
3. Payment method visible for logged-out users: You are right, that should definitely not happen. I've applied a plugin update to your site just now to ensure this is handled automatically.
Hi, give tutorial please 1. "Available Credit" translation: I found one instance of this text in B2BKing Pro that wasn't translated (this specific string loads at checkout). I went ahead and translated it, and it seems to be working correctly now: https://prnt.sc/mM3F586NV0Fg. Please let me know if you still see it untranslated anywhere.
Hello,
I am using the B2BKing Company Credit Addon and I need to translate the frontend string “Available Credit:” into Dutch.
However, this string does not change anywhere, even after:
Syncing the plugin in Loco Translate
Checking the b2bkingcredit text domain
Clearing all caches
Verifying that other strings are translatable
Manually editing the plugin file (public/class-b2bkingcredit-public.php) — the checkout still shows the English text
Searching for possible JS overrides or AJAX-generated strings
It looks like the string is rendered on the checkout, but not pulled from the PHP file I edited. This suggests that:
The string may be loaded through JS or AJAX
Or the translation domain is not correctly applied on the checkout output
Or there is another template file generating the same text
Could you please clarify:
Where exactly this string is loaded from in the Company Credit Addon
How we can properly translate it into another language (NL)
Whether there is a filter, hook, or template override available to localize this text
If this is a known issue with the addon’s translation handling
Thank you — looking forward to your guidance.
Attached files: CleanShot 2025-12-01 at [email protected]
Hi Mickey,
Thank you for reaching out,
I checked this on our local test site just now, and I was able to translate that string. I believe the issue here is that you need to translate it as part of the B2BKing Pro plugin as well - this is the string that loads at checkout.
Please try translating it in both B2BKing Pro and the B2BKing Credit Addon. In both plugins, please click on the 'Sync' button after opening the file with Loco Translate, so you have the latest template available.
For extra clarity, there is no need to translate B2BKing Core - all strings will be in either B2BKing Pro or in the Credit addon (or both).
This worked in my local tests, but if you are not able to get it working, could you share an admin login to the site or a staging site so we can check directly?
Kind regards,
Stefan
Hi Mickey,
Thanks for your patience and for the login details.
I've taken a look at the site and adjusted a few things to resolve these issues:
1. "Available Credit" translation: I found one instance of this text in B2BKing Pro that wasn't translated (this specific string loads at checkout). I went ahead and translated it, and it seems to be working correctly now: https://prnt.sc/mM3F586NV0Fg. Please let me know if you still see it untranslated anywhere.
2. "Select User Role" translation: For this field, translating via Loco Translate doesn't work because the label is defined in the registration field settings directly (in the post settings). I checked the setup and saw you had already set it correctly. I tested this as a logged-out user and it appears translated on my end: https://prnt.sc/U-b5z79R9y3q
3. Payment method visible for logged-out users: You are right, that should definitely not happen. I've applied a plugin update to your site just now to ensure this is handled automatically.
I also went to B2BKing -> Groups and explicitly disabled the method for 'Logged Out' and 'B2C' users. For future reference, you can use the group settings to control exactly who can access specific payment and shipping methods: https://woocommerce-b2b-plugin.com/docs/how-to-enable-disable-payment-and-shipping-methods-based-on-users-or-groups/
Let me know if there are any remaining issues!
Kind regards,
Stefan
Hi, give tutorial please 1. "Available Credit" translation: I found one instance of this text in B2BKing Pro that wasn't translated (this specific string loads at checkout). I went ahead and translated it, and it seems to be working correctly now: https://prnt.sc/mM3F586NV0Fg. Please let me know if you still see it untranslated anywhere.