Hello, On Mon, Jan 4, 2010 at 12:20 AM, Thierry Dumont <tdum...@math.univ-lyon1.fr>wrote:
> Vincent D a écrit : > > Hi, > > > > I aim to construct a french translation of the notebook (with french > > tutorial) on > > > > http://sage.irem.univ-mrs.fr:8000 > > > > Is there any attempt of multi-language support for it ? > > > > It seems that the files concerning the notebook lives in the > > independant package sagenb. But there are still some files in devel/ > > sage/server/ most of which are duplication of the precedings. Does the > > latter still needed to run the notebook ? > > > > Is the method to code the notebook is the modification of the package > > sagenb ? In this case how can I replace the sagenb with my sagenb_fr > > properly ? > > > Hi ( :-) ) > To customize sagenb I make a copy of the spkg out of the sage tree. > After customization, I install it by (if I can remember) like a python > package. > > Changes to the notebook should be made to the sagenb spkg found at http://nb.sagemath.org, and updated to the latest version at the repository (hg pull http://sage.math.washington.edu:8100). Development on the notebook should be done by first doing `sage -python setup.py develop`. Doing so automatically propagates changes to the notebook. There is currently no multi-language support in the notebook. It would be great if you can start helping out. The Jinja documentation on i18n (internationalization) may be useful: http://jinja.pocoo.org/1/documentation/i18n. > > > > A less important question. There are two sorts of template files in > > the directory data/sage/html of the sagenb package. Some templates > > (with .html extensions) and some html files (with .template > > extensions). For some of the files there are a .html and a .template > > for which the .html seems to be unuseful. Is it the case ? > > > > This question is quite important: for example, we want to modify the > html pages to add/suppress possibilities... a description of how to do > this would be great. > > t.d. > > > > Thanks, > > Vincent > > > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com<sage-devel%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > The templates directory is actually a bit messy, and some of the files are not even used. There are upcoming patches to alleviate the problem (#7269 and #7786) by deleting the unused files and making some large changes to the template structure. I think it would be best to base any new changes on at least #7269, since it has a positive review, and maybe #7786. Also, you may want to look at the sage-notebook mailing list: http://groups.google.com/group/sage-notebook -- Tim Joseph Dumol <tim (at) timdumol (dot) com> http://timdumol.com -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org