dmag
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

1-2 of 2