Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Dev

C::P::I18N patch to include languages list

 

 

Catalyst dev RSS feed   Index | Next | Previous | View Threaded


ton.voon at opsera

Jun 24, 2009, 9:21 AM

Post #1 of 3 (916 views)
Permalink
C::P::I18N patch to include languages list

Hi!

Is this a useful patch to Catalyst::Plugin::I18N? Or should it reside
elsewhere? I think it makes sense to put with C::P::I18N.

The idea is that you can call $c->languages_list and get back a hash
like:
{ en => "English", en_gb => "UK English", de => "German" }

Where the keys are based on imported files in MyApp::I18N::{language}
and the descriptive names are based on I18N::LangTags::List. So this
list will automatically get extended as new translated files come into
existence.

Ton
Attachments: catalyst_plugin_i18n_languages_list.patch (3.16 KB)


bobtfish at bobtfish

Aug 30, 2009, 10:25 AM

Post #2 of 3 (551 views)
Permalink
Re: C::P::I18N patch to include languages list [In reply to]

Ton Voon wrote:
> Is this a useful patch to Catalyst::Plugin::I18N? Or should it
> reside elsewhere? I think it makes sense to put with C::P::I18N.

Did this patch get applied and released?

Cheers
t0m



_______________________________________________
Catalyst-dev mailing list
Catalyst-dev[at]lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev


brian.cassidy at gmail

Sep 2, 2009, 7:46 AM

Post #3 of 3 (556 views)
Permalink
Re: C::P::I18N patch to include languages list [In reply to]

On Sun, Aug 30, 2009 at 2:25 PM, Tomas Doran<bobtfish[at]bobtfish.net> wrote:
> Did this patch get applied and released?

It appears to have been applied, but no release has been prep'ed.

--
Brian Cassidy (brian.cassidy[at]gmail.com)

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev[at]lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev

Catalyst dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.