Allows to override domain translation when including in template

Fix flash messages: missing default when no flash message configuration