[Catalyst] Multi-language and REST

Ian Docherty catalyst at iandocherty.com
Fri Apr 25 13:44:38 BST 2008


I have been pondering how to take an existing Catalyst application and 
make it multi-lingual.

I would prefer to use a RESTful method, so this would translate /foo/bar 
to /en/foo/bar or /fr/foo/bar (for English and French respectively).

The problem as I see it is how to do this. I don't want to move all my 
controllers, e.g. MyApp::Controller::Foo::Bar to 
MyApp::Controller::Lang::Foo::Bar

What other alternatives are there?

Regards
Ian



More information about the Catalyst mailing list