On Sep 28, 2012, at 11:42 AM, T.Lawrance wrote:

> 
> There are other examples of how to do internationalization on the Mason
> book and Mason HQ sites.
> 
> Yes, for HTML::Mason, like the suggested <%shared> blocks.
> 
> Thank you anyway for suggestions, I'll thinking about how to implement it in 
> Mason2.
> 
> But, I have some internal "feeling" that this should be done "somewhat" 
> before Mason take controll, like at some Middleware level (urlrewrite?) or 
> using Mason::Plugin::RouterSimple or like...

You could try a Plack middleware, like

   https://metacpan.org/module/Plack::Middleware::Rewrite

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to