I18N and template variables

16 views
Skip to first unread message

ty

unread,
Jun 19, 2013, 8:47:37 AM6/19/13
to mojol...@googlegroups.com
I am attempting to use the Mojolicious::Plugin::I18N module to provide internationalization.   However, I am having a little trouble mixing it with the template variables.

<%=l 'Welcome' %>   

works fine, but I cannot seem to get it to work with variables in the form

% title 'Welcome'

I have tried 

% title l 'Welcome'

and 

% title  =>  l('Welcome')

Is there a way to accomplish this?

ty

unread,
Jun 19, 2013, 8:49:52 AM6/19/13
to mojol...@googlegroups.com
Sorry forgot the semicolon.  I figured it out
Reply all
Reply to author
Forward
0 new messages