Hi Guillaume/everyone,
On 10 Dec 2014 at 13:18:17, Guillaume Lerouge
(guillaume@xwiki.com(mailto:guillaume@xwiki.com)) wrote:
Hi guys,
I met an issue recently on a project. We'd like to build an XWiki-based
website that will be available in several languages. We'd like to use
structured data, which means using XObjects.
Unfortunately at the moment XObjects are not internationalized: they're
available only in one language, even if a page exists in 2+ languages.
A common workaround is to either duplicate all fields in the object (say,
"type_FR" and "type_EN") or have 1 object per language, with a field
handling the language property. In either way, custom sheets need to be
developed to make it possible to modify the various languages of the page.
There is also an issue with the search: in which language should the
object's content be indexed?
One solution would be to make it possible to have international languages
handled directly in XWiki (the same way than the default title / content
fields are handled now), but I'm not sure how much work that would take.
Note that we have a jira issue opened at
http://jira.xwiki.org/browse/XWIKI-69
Now we just need someone with some time to work on it…
Thanks
-Vincent
WDYT?
Guillaume