On 2/6/06, Enrique Ferreyra <eferreyra(a)gmail.com> wrote:
Ok, thanks. I think the clean solution is when the bug
be fixed, and i
can put multilingual off with spanish language.
Until then im working with multilingual off in english, but the pages i
wrote arein spanish, hope dont be difficult to migrate when new release
come.
Anyway i would like an explanation how laguage works, there is a
different page (with same name) for each language ? or something like that ?
it's not exactly another page. You have the main page in the main
language, and another page attached to the first one with the other
language.
I think Ludovic can explain it better then me because I never touch this code.
How works the entry for language in the page's
editor ?
What if i left blank in there?
Other thing please, there is some doc or reference about valid format
dates for the xwiki.formatDate funcion ?
the default format is :
defaultFormat = "yyyy/MM/dd HH:mm";
we use SimpleDateFormat
http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
if you want more infos, take a look at the class com.xpn.xwiki.XWiki
the function :
formatDate(Date date, String format, XWikiContext context)
Sorry i can't send you the link, the view svn seem to be down :
http://forge.objectweb.org/plugins/scmsvn/index.php?group_id=170
Jérémi
--
Blog:
http://www.jeremi.info
LinkedIn:
https://www.linkedin.com/profile?viewProfile=&key=1437724
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com