This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
dmag
I use translate.rainlab
plugin for localization, but I'm not sure how to translate flash message from ajax form in this case:
function onMailSend() {
Mail::sendTo('name@example.com', 'contact.form', post());
Flash::success('Message has been sent');
}
Last updated
tom.schmitz
For anyone looking for an answer to this question: https://stackoverflow.com/questions/47879072/octobercms-how-to-translate-flash-messages
1-2 of 2