Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

More examples #420

wants to merge 2 commits into


None yet
2 participants

Hi Sebastian,

I wrote a couple of example Mojolicious apps showing canonical Template Toolkit and I18N + xgettext.pl setups. I adapted them from a project I'm currently working on and wrote them for my own future reference. They might however be useful to others so I thought I'd point them out to you via a Pull Request.

If you're interested in adding them but would like me to modify them in a way that suits the mojo project, let me know what I should do.


calumhalcrow added some commits Nov 25, 2012

@calumhalcrow calumhalcrow Template Toolkit example.
Did this as a full app rather than a Lite one as:
1) It's more useful to me to have the directory layout, especially to
see how the layout wrapper works.
2) I couldn't get the layout wrapper to work as a Lite app (the plugin
couldn't seem to find the layout template when defined in __DATA__).
@calumhalcrow calumhalcrow Plugin::I18N example, making use of .po files.
Uses TT as xgettext.pl has support for parsing TT templates.

marcusramberg commented Dec 26, 2012

I think these should go into the wiki, not the core distribution. Either that or into the documentation of the respective modules (TTRenderer and I18N).

Thanks for the feedback. I will look into doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment