I’ve been trying to change the “VAT/Tax Number” text that appears all over the site with ABN, however the gettext function recommended elsewhere in these forums doesn’t pick it up – I suspect because of the special characters in the translatable string resulting in an invalid array key.
I suspect because of the special characters in the translatable string resulting in an invalid array key.
Which special characters do you mean? You can translate the string using:
VAT/Tax Number:
(Note the space on the end of the string, its needed as the original string must match exactly)
However ‘VAT/Tax Number: ‘ is included within 2 templates (Invoice and Receipt) and EE allows you to change the string from within the template rather than translating.
My apologies, I completely missed the ‘prefix’ shortcode parameter from my example above, you do need to use that to change the shortcodes text. I’ll edit my original post to prevent further confusion in the future.
If you have any further problems please do let us know.
Viewing 3 reply threads
The support post ‘BUG – "VAT/Tax Number" is not translatable using gettext’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.