Edgewall Software

Opened 10 years ago

Last modified 9 years ago

#238 new defect

templates included by xi:include does not get translated

Reported by: lm@… Owned by: cmlenz
Priority: minor Milestone:
Component: Examples / Benchmarks Version:
Keywords: Cc:


When I added i18n support as described on http://genshi.edgewall.org/wiki/GenshiTutorial/Internationalization

I have my pages translated, but without texts that are incuded using XPath.

I attached minimal test case that reproduces this problem

Attachments (1)

i18ntest.tgz (2.0 KB) - added by lm@… 10 years ago.
run "python controller.py", tested under unix.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by lm@…

run "python controller.py", tested under unix.

comment:1 Changed 10 years ago by anonymous

  • Component changed from General to Examples / Benchmarks
  • Priority changed from critical to major

I found the problem. Tutorial at http://genshi.edgewall.org/wiki/GenshiTutorial/Internationalization

inproperly initializes TemplateLoader?. It should use callback function as stated in:


When I find some spare time I will try to fix diff's in tutorial.

comment:2 Changed 9 years ago by cmlenz

  • Milestone 0.6 deleted
  • Priority changed from major to minor
  • Version 0.5 deleted

I've noted the error on that page, hopefully someone will find the time to give it an update.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain cmlenz.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from cmlenz to the specified user. Next status will be 'new'.
The owner will be changed from cmlenz to anonymous. Next status will be 'assigned'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.