Support

Home Forums Translations Translation not showing on Order Confirmation and Invoice

Translation not showing on Order Confirmation and Invoice

Posted: July 15, 2015 at 2:30 am

Viewing 2 reply threads


Emil

July 15, 2015 at 2:30 am

Hi,
I translated some strings which apply both to the Order confirmation and Invoice, but after I uploaded the .po and .mo files to the server, some changes appear on the Invoice but not all of them), but on the Order Confirmation there are a lot of translated strings which are still in English. Do Invoice and Order confirmation have another way to be translated (via EE4 admin > Messages > Edit Message Templates maybe?), other than translating the strings from the plugin in GlotPress? Isn’t enough to translate a string in the .mo and .po of the plugin in order to be propagated in the message templates?
Thanks,
Emil


Tony

  • Support Staff

July 15, 2015 at 3:30 am

Hi Emil,

The message templates work slightly differently in that on activation they save the template to the database. So translated template strings are not taken into consideration unless the template is reset (or the translation is active before EE is initially activated).

You can edit the templates from within Event Espresso -> Messages. Editing both the Invoice and Receipt templates and translating the strings there….

Or you can reset the Invoice and Order Confirmation templates to take into your latest translations into consideration. This will reset your templates to default but if any of the strings have been translated they will be written to the templates.

You need to do this for each template individually, so for the Invoice template go to Event Espresso -> Messages -> Invoice.

Click the ‘Purchaser’ link to edit the template.

On the right within the template editor you’ll see a ‘Reset Template’ button – http://take.ms/9ENEt

*Note if you have customized the template at all these will be lost.

If you do the above are the strings translated?


Emil

July 15, 2015 at 6:31 am

Hi,
Fortunately, I didn’t modify the templates yet, so I used the Reset Templates option. That did propagate the translations I made in the plugin into the templates.
Thank you. Ticket closed.
Best regards,
Emil

Viewing 2 reply threads

The support post ‘Translation not showing on Order Confirmation and Invoice’ 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.

Event Espresso