Posted
over 12 years
ago
by
Antti Haapala
The pylons style global gettext was bad idea even then. Using such approach on Pyramid requires more code and causes substantial overhead, compared to giving a Gettext style function per each rendering that is bound to the request locale.
|
Posted
over 12 years
ago
by
Anonymous Coward
Hear hear. I had to put literal('') inside my script tag to avoid incorrect output!
|
Posted
over 12 years
ago
by
Rick Copeland ☕
The idea is to use something like pylons' i18n.gettext to replace the built-in gettext (which does nothing). The pylons version will look at the current request's context and choose the appropriate translator automatically.
|
Posted
over 12 years
ago
by
Rick Copeland ☕
Looks good. Merged and pushed.
|
Posted
over 12 years
ago
by
Rick Copeland
Sort attrsView Changes
|
Posted
over 12 years
ago
by
Rick Copeland
Add support for passing *args and **kwargs from...View Changes
|
Posted
over 12 years
ago
by
Rick Copeland
Fix version infoView Changes
|
Posted
over 12 years
ago
by
Anonymous Coward
Have you thought of creating a discussion list on google groups? Seems easier to ask questions then here.
|
Posted
over 12 years
ago
by
Anonymous Coward
I'm doing some templating with Kajiki and liking it a lot. Including one template inside another works - using py:include.
But, I can't get access to any of the variables that I've passed through to the main template inside the included template.
|
Posted
almost 13 years
ago
by
Anonymous Coward
Welcome to your wiki!
This is the default page, edit it as you see fit. To add a page simply reference it within brackets, e.g.: [SamplePage].
The wiki uses [Markdown](/p/kajiki/home/markdown_syntax/) syntax.
|