Permalink
Browse files

Documentation for issue #878.

  • Loading branch information...
1 parent 96a89b6 commit d6633343275c1cceb4f7329640bc3917b11cec12 @mitar committed Jun 2, 2012
Showing with 24 additions and 1 deletion.
  1. +11 −1 docs/advanced/i18n.rst
  2. +13 −0 docs/getting_started/configuration.rst
View
@@ -122,4 +122,14 @@ not translated yet.
If :setting:`CMS_HIDE_UNTRANSLATED` is ``True`` is in your ``settings.py``
and you are on a page that hasn't got a english translation yet and you view the
german version then the language chooser will redirect to ``/``. The same goes
-for urls that are not handled by the cms and display a language chooser.
+for urls that are not handled by the cms and display a language chooser.
+
+*********************************
+CMS_LANGUAGES_URL_IGNORE_PREFIXES
+*********************************
+
+In complex Django CMS installations there could be URLs on the same site as
+Django CMS but which are processed by your HTTP server in some other manner and
+never passed to Django CMS. Multilingual middleware would process also links to
+such URLs, so you can use :setting:`CMS_LANGUAGES_URL_IGNORE_PREFIXES` to
+configure which URLs should be left as they are.
@@ -257,6 +257,19 @@ Example::
'en': ['de'],
}
+.. setting:: CMS_LANGUAGES_URL_IGNORE_PREFIXES
+
+CMS_LANGUAGES_URL_IGNORE_PREFIXES
+=================================
+
+Default: ``()``
+
+In complex Django CMS installations there could be URLs on the same site as
+Django CMS but which are processed by your HTTP server in some other manner and
+never passed to Django CMS. Multilingual middleware would process also links to
+such URLs, so you can use this setting to configure which URLs should be left
+as they are.
+
.. setting:: CMS_SITE_LANGUAGES
CMS_SITE_LANGUAGES

0 comments on commit d663334

Please sign in to comment.