Hi,
On Wed, Nov 26, 2008 at 1:52 PM, Thomas Eveilleau <thomas(a)xwiki.com> wrote:
Hello,
I'd like to work on translations of default XE pages (pages that are not
internationalized yet) like Photos.WebHome, Main.Tags, Panels etc.
In order to do things correctly I'd like to now the syntax I should use
for the $msg.get values.
What we have in a page like XWiki.XWikiUserSheet is :
"platform.core.profile.firstname" for the firstname
1 ) Should I use the same syntax ("platform.core.tags.title" for the
title of Main.Tags - if i keep my example) ?
2 ) Or should we use more scalable values (tomorrow we will have a core
and applications on it : should we consider the Panels as an application
and have something like "application.panel.panelname.element" ?).
3 ) Maybe that we also can use things like the fullname of a page in the
value (to quickly identify it) and having something like :
"appplication.panel.Panels.Search.title"
I'm waiting for your advices on this (1 / 2 / 3 or another proposal).
Proposal 3) looks good to me since it would be quite helpful to know on what
part of the interface a message is located when translating it to other
languages.
Guillaume
Thanks,
Thomas Eveilleau
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/