On Mar 7, 2008, at 10:56 AM, Guillaume Lerouge wrote:
Hi Ricardo,
for panels a much better solution is available:
Define a list of messages (such as the one in BBCode.Translations).
You'll have :
message1=Hello
message2=Goodnight
and so on...
Where you need your name to be printed (typically in a panel) use
$msg.message1 , $msg.message2... you will have :
[$msg.message1>MySpace.MyPage] (will show up as Hello)
[$msg.message2>MySpace.MyPage2] (will show up as Goodnight)
Declare your translation page in the wiki administration console
(same as for the BB)
For each language you need, write a translation of the page in that
language.
The result will be something similar to what you see on
xwiki.com
when you switch languages (look at the menu bar for "try",
"partners" and so on)
BTW this is all documented here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplica…
-Vincent
Hope this helps,
Guillaume
On 07/03/2008, [Ricardo Rodriguez] Your EPEC Network ICT Team
<webmaster(a)environmentalchange.net
wrote:
Vincent Massol wrote:
Thanks Vincent. I have adopted the first strategy (better, just a
number
of if/then structures in the panel code) here: I have to deliver a
small
sample supporting panels in several languages by Monday. I will then
try
to catch up with Sergiu proposals.
I can't go ahead with XWiki here without a solution to this issue. Of
course attachments and comments will be quickly required if we get
solved panels...
Cheers,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team