Edgewall Software

Opened 16 years ago

Last modified 15 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:

Description

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@… 16 years ago.
run "python controller.py", tested under unix.

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by lm@…

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

comment:1 Changed 16 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:

http://genshi.edgewall.org/wiki/Documentation/i18n.html#id4

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

comment:2 Changed 15 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.

Note: See TracTickets for help on using tickets.