Background of the issue:
I would like to target the strings inside a custom HTML email template. A template is being used in GravityForms to override the HTML style of the outgoing email HTML.
Here is a snippet of that code, including the strings
This is an example of my code:
Fake Address 101
0011 AB Netherlands
T — 030 21 203 54
W — test-domain.com
How do I mark these strings so that I can load them in my WPML editor and translate them? So to be clear, I have a template like this:
Here’s how you can make the code ready for translation with WPML by replacing the actual text with placeholder dummy text while ensuring the strings are translation-ready:
html
Code kopiëren
And how would I translate the URL's and make sure that they are connected.
Also, the text-domain for GravityForms is being generated for each form. So for example form with ID 1, has gravity_form-1. I want the email HTML to occur, disregarding of a specific form and I don't want to use every possible text-domain for future forms as well.
Symptoms:
I am struggling with preparing my custom HTML template to be translatable. I am able to use the {message} field inside GravityForms but I would like to make that as clean as possible and not use any HTML inside that message tab. So I want to add the signature that is currently being added by code, so that the user does not see it.
I am also struggling with targeting the right text-domain, as GravityForms generates a text domain for each individual form.
Questions:
I want to know how to target all the forms, without the need to target each form individually with the _1 addition.
I also want to know how to prepare my HTML code so it is ready for translation. The signature in
El tema '[Cerrado] Translation of GravityForms strings' está cerrado a nuevas respuestas.