Re: [xwiki-devs] devs Digest, Vol 93, Issue 12
How I Can Internationalizing "Hello World"? ------------------ Original ------------------ From: "[email protected]";<[email protected]>; Date: Sun, Mar 8, 2015 08:00 PM To: "devs"<[email protected]>; Subject: devs Digest, Vol 93, Issue 12 Send devs mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.xwiki.org/mailman/listinfo/devs or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of devs digest..." Today's Topics: 1. Re: How Internationalizing UIExtension Module? (Eduard Moraru) ---------------------------------------------------------------------- Message: 1 Date: Sun, 8 Mar 2015 00:40:29 +0200 From: Eduard Moraru <[email protected]> To: XWiki Developers <[email protected]> Subject: Re: [xwiki-devs] How Internationalizing UIExtension Module? Message-ID: <CADGDyYJAy5tz5EqUpeVmLT4ktJvKwN9iFDxs5t_xo+CxtMvEoQ@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Hi, You would need to try to be more specific in your question. What is it that you want to achieve, what did you try and did not work, etc. Thanks, Eduard On Sat, Mar 7, 2015 at 11:02 AM, /xin?? <[email protected]> wrote:
Hi? I want to know How Internationalizing UIExtension Module?? Thanks? _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
------------------------------ Subject: Digest Footer _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs ------------------------------ End of devs Digest, Vol 93, Issue 12 ************************************
Hi, Please reply to individual mails, not to digests, since they make having a conversation difficult. Regarding your question, please have a look at the existing guides/documentation on internationalizing XWiki applications [1] and, more generally, by using the Localization Module [2]. In your particular case, in a JSX, you need to enable content parsing on the JSX object ("Parse content: Yes") and then use a velocity call to the Localization Script service [3]. Example: alert("$services.localization.render('my.hello.world.key')"); ...where 'my.hello.world.key' is a translation key registered in a translation document or whatever you choose, according to the documentation [4] Thanks, Eduard ---------- [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplicat... [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Localization+Module [3] http://extensions.xwiki.org/xwiki/bin/view/Extension/Localization+Scripting [4] http://extensions.xwiki.org/xwiki/bin/view/Extension/Localization+Module#HRe... On Mon, Mar 9, 2015 at 6:19 AM, /xin蜗牛 <[email protected]> wrote:
How I Can Internationalizing "Hello World"?
------------------ Original ------------------ From: "[email protected]";<[email protected]>; Date: Sun, Mar 8, 2015 08:00 PM To: "devs"<[email protected]>;
Subject: devs Digest, Vol 93, Issue 12
Send devs mailing list submissions to [email protected]
To subscribe or unsubscribe via the World Wide Web, visit http://lists.xwiki.org/mailman/listinfo/devs or, via email, send a message with subject or body 'help' to [email protected]
You can reach the person managing the list at [email protected]
When replying, please edit your Subject line so it is more specific than "Re: Contents of devs digest..."
Today's Topics:
1. Re: How Internationalizing UIExtension Module? (Eduard Moraru)
----------------------------------------------------------------------
Message: 1 Date: Sun, 8 Mar 2015 00:40:29 +0200 From: Eduard Moraru <[email protected]> To: XWiki Developers <[email protected]> Subject: Re: [xwiki-devs] How Internationalizing UIExtension Module? Message-ID: < CADGDyYJAy5tz5EqUpeVmLT4ktJvKwN9iFDxs5t_xo+CxtMvEoQ@mail.gmail.com> Content-Type: text/plain; charset=UTF-8
Hi,
You would need to try to be more specific in your question. What is it that you want to achieve, what did you try and did not work, etc.
Thanks, Eduard
On Sat, Mar 7, 2015 at 11:02 AM, /xin?? <[email protected]> wrote:
Hi? I want to know How Internationalizing UIExtension Module?? Thanks? _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
------------------------------
Subject: Digest Footer
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
------------------------------
End of devs Digest, Vol 93, Issue 12 ************************************ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
/xin蜗牛 -
Eduard Moraru