summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorLuan Pablo <luanpab@gmail.com>2014-06-06 15:47:15 -0300
committerTim Graham <timograham@gmail.com>2014-06-20 13:04:41 -0400
commit407d070329b4df81dab488db35bb068976e3be43 (patch)
tree821721e8aab896a4f2a9c8c9b5782f41209b40a0 /docs/ref
parent78c32f1caa9cb9b28be2d867aff586a2016122ed (diff)
Fixed #22782 -- Added i18n attr to Sitemap class
It makes possible to have your sitemap in multiple languages when using i18n in URLs.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/sitemaps.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt
index 8c48651054..e6817dbba4 100644
--- a/docs/ref/contrib/sitemaps.txt
+++ b/docs/ref/contrib/sitemaps.txt
@@ -232,6 +232,15 @@ Sitemap class reference
sitemap was requested is used. If the sitemap is built outside the
context of a request, the default is ``'http'``.
+ .. attribute:: Sitemap.i18n
+
+ .. versionadded:: 1.8
+
+ **Optional.**
+
+ A boolean attribute that defines if the URLs of this sitemap should
+ be generated using all of your :setting:`LANGUAGES`. The default is
+ ``False``.
Shortcuts
=========