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.