Most of the work is about adding space support to
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwi…
then all features based on component registration will be bale to
benefit from it (UIX, translations, wiki macros, etc...).
On Localization side what would be the required right to register a
translation to a whole space ?
On Tue, Jan 22, 2013 at 7:15 PM, Marius Dumitru Florea
<mariusdumitru.florea(a)xwiki.com> wrote:
Hi devs,
In order to implement
http://jira.xwiki.org/browse/XWIKI-8584 I had to
choose between using the document translation bundle on demand (only
when needed) and using it automatically (in some scope).
The problem with on demand is that if you have a live table you need a
custom live table results page just to demand the translation bundle
when live table results are fetched.
So I decided to use wiki scope, but, as it turns out, you need special
rights to register a document translation bundle on the entire wiki. A
simple user creating an application with AWM won't have the
application translation bundle registered.
The reason I choose the 'wiki' scope is that there was no 'space'
scope. Space (application) scope makes a lot of sense in my case and
I'm wondering if it's hard to implement it. Note that I already make
the application creator an admin of the application space, so
requiring space administration rights for space scope is fine for me.
WDYT I should do for 4.5:
(1) use the document translation on demand and generate a custom live
table results page or
(2) push for Thomas to implement space scope if it's simple :)
Thanks,
Marius
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne