Okay
  Public Ticket #4521813
Unable to Translate “Available Credit:” on checkout
Open

Comments

  • Mickey started the conversation

    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:

    1. Where exactly this string is loaded from in the Company Credit Addon

    2. How we can properly translate it into another language (NL)

    3. Whether there is a filter, hook, or template override available to localize this text

    4. 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]