[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] Remove the statically defined language from the

From: Maxime Petazzoni
Subject: [Maposmatic-dev] [PATCH] Remove the statically defined language from the base template.
Date: Sun, 6 Sep 2009 14:16:38 +0200

Now that MapOSMatic has i18n features, the content language is detected
from the Accept-Language header sent by the client. Therefore, the
statically defined 'fr-fr' language in the Content-Language META tag is
no longer required (not mentioning wrong if we're not sending French).
 www/templates/maposmatic/base.html |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/www/templates/maposmatic/base.html 
index 7b7dd79..93ba7b9 100644
--- a/www/templates/maposmatic/base.html
+++ b/www/templates/maposmatic/base.html
@@ -31,7 +31,6 @@
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <meta http-equiv="Content-Language" content="fr-fr" />
  <link rel="stylesheet" type="text/css" href="/smedia/style.css" 
media="screen" />
  <script language="JavaScript" type="text/javascript">
  {% block extrajs %}{% endblock %}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]