Hi Ricardo,
for panels a much better solution is available:
1. Define a list of messages (such as the one in BBCode.Translations).
You'll have :
- message1=Hello
- message2=Goodnight
- and so on...
2. 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)
3. Declare your translation page in the wiki administration console
(same as for the BB)
4. For each language you need, write a translation of the page in that
language.
5. The result will be something similar to what you see on
xwiki.comwhen you switch languages (look at the menu bar for "try",
"partners" and so
on)
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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
http://wikibc.blogspot.com/