On Mon, Jan 25, 2016 at 6:04 PM, Mark Sack <mark.sack@secti.al.gov.br> wrote:
Yes, I can switch back and forth between the different languages using the URL method.
However, this functionality seems to be exhibiting some strange and inconsistent behaviour. This time I created a new instance in a VM and observed the following:
1. Logged in as Admin and set the Multilingual - Yes, Supported languages - pt_BR,en and Default language - pt_BR 2. Saved the configuration with the result that the page was displayed in French (I did not list fr as a supported language). 3. Tried switching between different languages (pt_BR, en and fr) and they all were displayed as expected.
In xwiki.cfg file you have a fiew properties to control this behaviour i the section "Internationalization": #-# By default, XWiki chooses the language specified by the client (browser) in the Accept-Language HTTP header. This #-# allows to use the default language of the wiki when the user didn't manually choose a language. # xwiki.language.preferDefault=0 #-# Force only one of the supported languages to be accepted. # xwiki.language.forceSupported=0
The languages shown on the side are English and French as in the attached image. <http://xwiki.475771.n2.nabble.com/file/n7597692/35.png>
Another thing I noted is it appears that the list of supported languages cannot contain spaces. If I put a space after the comma, there is an error in catalina.out.
Also I don't quite understand is how to edit a page for a specific language only. If I go to the first blog post page with language pt_BR and make some edits, those same edits show up if I display the page with language en. I read the Internationalization page http://http://platform.xwiki.org/xwiki/bin/view/Features/I18N <http://http://platform.xwiki.org/xwiki/bin/view/Features/I18N> But I can't see a "Document Information" panel as it describes. The last item on the ... drop down menu gives some information about the page but does not say anything about the language.
That's because you did not choose the right example. Blog post is not a simple wiki page and when you edit it you get a custom edit view. You should try with a new page for example.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Problems-setting-up-multilingual-site-tp75... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne