>    - objects can not be translated (see
> XWIKI-69<http://jira.xwiki.org/jira/browse/XWIKI-69>).
>    In my words a page can not be translated if it uses a template. Using
>    conditions in macros is not a good workaround for end-users. Is there
>    another way to implement this feature ? Do you have any recommendations ?
The approach should be similar to used in Livetable macro. See
http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro

Then in some xwiki page e.g. /xwiki/bin/view/Custom/MacroTranslations
create content:
...
field=Translation
...
hopefully it will work if you will translate page in necessary languages

open 
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Programming 
and in the field Internationalization Document Bundles set: 
Custom.MacroTranslations


N.B. to Xwikiers

Actually such approach should be supported and documented for
internationalization of new/staged/custom/contributed macros.

Valdis

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to