[Catalyst] Multi-language and REST

John Beppu john.beppu at gmail.com
Wed May 21 09:35:55 BST 2008

On Mon, Apr 28, 2008 at 7:17 AM, Geir Aalberg <geir at fandom.no> wrote:

> On 25 Apr 2008, at 14:44 , Ian Docherty wrote:
>  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?
> - Use two different subdomains (en.domain.com and fr.domain.com)

^^^^ This is my favorite approach.

Wikipedia and YouTube do it this way, and it seems to work really well for

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080521/2f368=

More information about the Catalyst mailing list