Opened 17 years ago
Last modified 16 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)
Change History (3)
Changed 17 years ago by lm@…
comment:1 Changed 17 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 16 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.
run "python controller.py", tested under unix.