Generate success message in php, not javascript for i18n