On 12/18/2009 05:38 PM, Zhaolin Feng wrote:
> Hi, everyone:
>
> As discussed in XE-552<http://jira.xwiki.org/jira/browse/XE-552>, Thomas
> Mortagne and I agreed that interface language and page content language are
> two unrelated dimensions.
> With the new Colibri skin in XE2.1, I think we are in a good position to
> seperate them.
> 1. Move the content language switcher from the site title bar to the page
> title bar.
> 2. In register page and personal profile page, add a "preferred language"
> setting. It's the interface language as well as the default content
> language.
>
> WDYT?
>
> I've created a suggestion in JIRA:
> http://jira.xwiki.org/jira/browse/XSCOLIBRI-169

I already tried this two or three years ago, but there were some bugs so 
it had to be reverted. Some of the code is already in place, there's 
getDocLanguagePreference and getInterfaceLanguagePreference in the XWiki 
class, so it's already a good start.

And indeed, with the menu separation it is a good opportunity to split 
the interface language from the document language. We'd still have to be 
careful with the older skins, so that the new behavior doesn't change 
the way old skins work.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to