On Mon, Apr 28, 2008 at 7:17 AM, Geir Aalberg <[EMAIL PROTECTED]> 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
them.

--beppu
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to