[Catalyst] Translations for error message

Aran Deltac aran at arandeltac.com
Mon May 8 17:04:02 CEST 2006


On 5/5/06, Tatsuhiko Miyagawa <miyagawa at gmail.com> wrote:
> On 4/30/06, J. Shirley <jshirley at gmail.com> wrote:
> > >       (en) Please come back later
> > >       (de) Bitte versuchen sie es sp&auml;ter noch einmal
> > >       (pt) Por favor, volte mais tarde
> >         (jp) 後ほどお越しください
>
> s/jp/ja/
>
> "jp" is for the country Japan and "ja" is for the language Japanese.
>
> Also, has anyone suggested to make the language selection automatic,
> using Accept-Language header recognition, rather than listing them
> all?

Catalyst::Plugin::I18N uses Locale::Maketext::Simple which uses
Locale::Maketext, which uses I18N::LangTags::Detect, if you do not
declare a language.  So, automatic language detection should already
be implemented if I'm reading the code right.

Aran

> --
> Tatsuhiko Miyagawa
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>



More information about the Catalyst mailing list