diff --git a/modoboa/templates/404.html b/modoboa/templates/404.html
index 78aef1dae..a0a5ba664 100644
--- a/modoboa/templates/404.html
+++ b/modoboa/templates/404.html
@@ -1,4 +1,7 @@
{% extends "layout_simple.html" %}{% load i18n %}
{% block content %}
-
{% trans "The requested page does not exist." %}
+
+
{% trans "Sorry" %}
+
{% trans "The requested page does not exist." %}
+
{% endblock %}
diff --git a/modoboa/templates/500.html b/modoboa/templates/500.html
index 084fb687b..4864a78fb 100644
--- a/modoboa/templates/500.html
+++ b/modoboa/templates/500.html
@@ -1,4 +1,7 @@
{% extends "layout_simple.html" %}{% load i18n %}
{% block content %}
-{% trans "An internal error occured." %}
+
+
{% trans "Sorry" %}
+
{% trans "An internal error occured." %}
+
{% endblock %}
diff --git a/modoboa/templates/layout_simple.html b/modoboa/templates/layout_simple.html
index fba149820..02fb8a925 100644
--- a/modoboa/templates/layout_simple.html
+++ b/modoboa/templates/layout_simple.html
@@ -10,6 +10,11 @@
{% url django.views.i18n.javascript_catalog as catalog_url %}
+