• Vincent Massol
    Vincent Massol, 2014/05/23 08:42

    Nice macro. Would be even nicer to use a JSX and to provide a Panel containing this macro so that the user can translate any page at will easily. WDYT?

  • Dmitry Bakbardin
    Dmitry Bakbardin, 2014/05/27 01:13

    +1 to JSX
    One problem found: we have already {{translation/}} macro.

    {{translation key="menu.uix.extensionPoint.label"/}}

    E.g. this is the code from Menu.UIExtensionSheet. Installing this {{translation/}} macro gave a mess XWiki wide.

    The solution is: to give macro OTHER NAME, e.g. {{translate/}} and then restart XWiki. The mess is gone emoticon_wink

    • Vincent Massol
      Vincent Massol, 2014/06/02 09:02

      Indeed using translation is not a good idea for the name. translate isn't very good either. I would propose googletranslate or google-translate (or  googletranslator or google-translator ).

    • Thomas Mortagne
      Thomas Mortagne, 2014/06/02 09:05

      Yes {{translation}} is the standard macro to display a translation so not exactly the best name...

Get Connected