Hi Vincent,
that helps. I get now what i want but use groovy with
I just wrote it to document the solution.
Regards,
Matthias
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Include-a-page-with-a-specific-and-or-default-locale-tp7588954p7589118.html
Sent from the XWiki- U
Hi Matthias,
Right now you cannot achieve what you want with the {{include}} macro.
The solution right now is to script this:
{{velocity}}
$xwiki.getDocument('Included').getTranslatedContent('fr')
{{/velocity}}
In this example I’m getting the content of the Included page in language ‘fr’
and I
Hi Vincent,
that's right. In my mind i thought to use a html form to select the prefered
locale which creates than the content in the selected language. With content
i mean x pages with the locale de and en. When i select "en" in the
creator-page (even if it is in de), the i want to get english co
Hi,
Currently the include macro doesn’t support loading a page in a language other
than the current language used to display the current page.
If you’re in a “de” page and that page uses the include macro, the included
content will be in “de” too.
Do I understand correctly that you’d like some
Hi All,
i have some pages in Locale de and en. I want to use another page with the
include macro to load a set of defined pages in one language (or with a
default language, when the other is not set). Is that possible?
You know a similar solution if the include macro could not be used?
Regards,