[Trac] Re: Step by Step trac localization guide
Hi Lucas, i'v got WinXP,apache 2.2.4,python 2.5.
It is probably sounds stupid, BUT:
I had checkout sandbox/i18n, trac works fine.
And I can't still figure out how to set up preffered language.
When i set url like this http://localhost/trac/ru_RU/about, i've
got an error like this:
Traceback (most recent call last):
File "c:\python25\lib\site-packages\Trac-0.11dev_r5942-py2.5.egg
\trac
\web\api.py", line 340, in send_error
'text/html')
File "c:\python25\lib\site-packages\Trac-0.11dev_r5942-py2.5.egg
\trac
\web\chrome.py", line 606, in render_template
return stream.render(method, doctype=doctype)
File "build\bdist.win32\egg\genshi\core.py", line 154, in render
return encode(generator, method=method, encoding=encoding)
File "build\bdist.win32\egg\genshi\output.py", line 45, in encode
output = u''.join(list(iterator))
File "build\bdist.win32\egg\genshi\output.py", line 274, in
__call__
for kind, data, pos in stream:
File "build\bdist.win32\egg\genshi\output.py", line 519, in
__call__
for kind, data, pos in stream:
File "build\bdist.win32\egg\genshi\output.py", line 679, in
__call__
for kind, data, pos in chain(stream, [(None, None, None)]):
File "build\bdist.win32\egg\genshi\output.py", line 459, in
__call__
for ev in stream:
File "build\bdist.win32\egg\genshi\core.py", line 212, in _ensure
for event in stream:
File "build\bdist.win32\egg\genshi\core.py", line 212, in _ensure
for event in stream:
File "c:\python25\lib\site-packages\Trac-0.11dev_r5942-py2.5.egg
\trac
\web\chrome.py", line 636, in _strip_accesskeys
for kind, data, pos in stream:
File "build\bdist.win32\egg\genshi\core.py", line 212, in _ensure
for event in stream:
File "c:\python25\lib\site-packages\Trac-0.11dev_r5942-py2.5.egg
\trac
\web\chrome.py", line 625, in _generate
for kind, data, pos in stream:
File "build\bdist.win32\egg\genshi\template\markup.py", line 263,
in
_include
for event in tmpl.generate(ctxt):
File "build\bdist.win32\egg\genshi\template\markup.py", line 252,
in
_include
for event in stream:
File "build\bdist.win32\egg\genshi\template\markup.py", line 297,
in
_match
for event in stream:
File "build\bdist.win32\egg\genshi\template\markup.py", line 242,
in
_exec
for event in stream:
File "build\bdist.win32\egg\genshi\template\base.py", line 398, in
_eval
for kind, data, pos in stream:
File "build\bdist.win32\egg\genshi\template\base.py", line 442, in
_flatten
for event in stream:
File "build\bdist.win32\egg\genshi\filters\i18n.py", line 186, in
__call__
new_substream = list(self(substream, ctxt))
File "build\bdist.win32\egg\genshi\filters\i18n.py", line 186, in
__call__
new_substream = list(self(substream, ctxt))
File "build\bdist.win32\egg\genshi\filters\i18n.py", line 186, in
__call__
new_substream = list(self(substream, ctxt))
File "build\bdist.win32\egg\genshi\filters\i18n.py", line 181, in
__call__
data = data.replace(text, translate(text))
TypeError: coercing to Unicode: need string or buffer, LazyProxy
found
Any suggestions?
Thnx.
On 30 авг, 17:46, "Lucas Stephanou" <dom...@...> wrote:
> funnyduck (??)
>
> the full support for internationalization is planned to trac 0.12, but you
> can take a look at the sandbox/i18n branch
>
> I had checkout 2 weeks ago and works fine to me.
>
> Cheers
>
> On 8/30/07, funnyduck <dfun...@...> wrote:
>
>
>
>
>
>
>
> > Hi Everybody.
> > I'm new to trac, python and babel.
> > I'm trying to localize it to russian language.
>
> > I found russian messages.po file and couple articles about i18n, l10n
> > and babel on trac.edgewall.org.
> > But i still can't figure out how to do this.
>
> > Is there any step by step guides, manuals?
>
> > Thnx.
>
> --
> Lucas Stephanou- Скрыть цитируемый текст -
>
> - Показать цитируемый текст -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---