#9428: Internationalize the Sage Notebook
-------------------------------------------------+--------------------------
Reporter: timdumol | Owner: jason, was
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.6
Component: notebook | Keywords:
Author: Luiz Aquino, Dan Drake, Tim Dumol | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------------------------+--------------------------
Comment(by robert.marik):
Replying to [comment:25 LuizAquino]:
>
> Robert Marik, could you update the cs_CZ localization files to translate
the new strings?
I merged my po file with the pot file from the last sagenb spg and
translated untranslated string. Added also translations for "Click to
rename this worksheet" and "Select an attached file". The file with Czech
translations is at http://user.mendelu.cz/marik/sage/sagenb.po
I think that the pot file distributed in spkg package is not up-to-date
but running pybabel gives error on my installation (Debian Lenny)
{{{
ma...@um-bc107:/opt/sage/spkg/build/sagenb-0.8.2-dev-
i18n/src/sagenb/sagenb$ pybabel extract -F ./babel.cfg . -o output.pot
extracting messages from data/sage/html/base.html (encoding="utf-8")
Traceback (most recent call last):
File "/usr/bin/pybabel", line 8, in <module>
load_entry_point('Babel==0.9.1', 'console_scripts', 'pybabel')()
File "/var/lib/python-support/python2.5/babel/messages/frontend.py",
line 1072, in main
return CommandLineInterface().run(sys.argv)
File "/var/lib/python-support/python2.5/babel/messages/frontend.py",
line 645, in run
return getattr(self, cmdname)(args[1:])
File "/var/lib/python-support/python2.5/babel/messages/frontend.py",
line 879, in extract
for filename, lineno, message, comments in extracted:
File "/var/lib/python-support/python2.5/babel/messages/extract.py", line
153, in extract_from_dir
options=options):
File "/var/lib/python-support/python2.5/babel/messages/extract.py", line
179, in extract_from_file
return list(extract(method, fileobj, keywords, comment_tags, options))
File "/var/lib/python-support/python2.5/babel/messages/extract.py", line
238, in extract
if func is None:
UnboundLocalError: local variable 'func' referenced before assignment
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9428#comment:26>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.