Edgewall Software

Ticket #238 (new defect)

Opened 7 years ago

Last modified 6 years ago

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


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

Change History

Changed 7 years ago by lm@…

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

Changed 7 years ago by anonymous

  • priority changed from critical to major
  • component changed from General to Examples / Benchmarks

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.

Changed 6 years ago by cmlenz

  • priority changed from major to minor
  • version 0.5 deleted
  • milestone 0.6 deleted

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

Add/Change #238 (templates included by xi:include does not get translated)


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

Change Properties
<Author field>
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cmlenz. Next status will be 'new'
The owner will change from cmlenz to anonymous. Next status will be 'assigned'
Note: See TracTickets for help on using tickets.