From 407d070329b4df81dab488db35bb068976e3be43 Mon Sep 17 00:00:00 2001 From: Luan Pablo Date: Fri, 6 Jun 2014 15:47:15 -0300 Subject: Fixed #22782 -- Added i18n attr to Sitemap class It makes possible to have your sitemap in multiple languages when using i18n in URLs. --- docs/ref/contrib/sitemaps.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/ref') 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 ========= -- cgit v1.3