Support

Home Forums Translations How to translate alert() from JavaScript code

How to translate alert() from JavaScript code

Posted: May 26, 2014 at 3:55 pm

Viewing 2 reply threads


Cristi Constantin

May 26, 2014 at 3:55 pm

For example, the seating chart add-on uses quite a few of calls to alert(), with hardcoded text messages. For example:
alert(‘Seating chart not available.’);
How can we setup a translation for such cases?
Thank you.


Dean

May 27, 2014 at 3:45 am

Hi Cristi,

It looks like those strings are hardcoded with no wp_localisation in effect.

I can raise a ticket to look into it, but with focus being on EE4 (which does localize JavaScript) I cannot say if or when it would be tackled.


Cristi Constantin

May 27, 2014 at 4:14 am

Agree, but at least you should reconsider the pricing for this (alpha) add-on which offers almost no support for its EE3 version…

Viewing 2 reply threads

The support post ‘How to translate alert() from JavaScript code’ 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