I hope ActionMailer is also working!
Have you tested?
On Sep 19, 6:02 am, pierre <[EMAIL PROTECTED]> wrote:
> Is there a way to use this also with ActionMailer templates ?
>
> Thanks,
> Pierre
>
> On Sep 15, 4:01 am, José Valim <[EMAIL PROTECTED]> wrote:
>
> > Ok!
> > I will see with Pratik what we can do! =)
>
> > I've also added some tests and currently the naming convention is:
>
> > index-pt-BR.html.erb
> > index-en-US.rss.builder
> > edit-it.html.builder
>
> > On Sep 14, 4:44 pm, Sven Fuchs <[EMAIL PROTECTED]> wrote:
>
> > > On 12.09.2008, at 23:41, José Valim wrote:
>
> > > > Oh, one question about the convention. Is it necessary to use the
> > > > country tag?
>
> > > > Because if we are allowed to use locales like "it" instead of "it-IT",
> > > > we cannot know when it's a locale or a format.
>
> > > > But if we always have the country tag, it means that we would have to
> > > > use an hifen (-) then we are able to know when it's a locale or a
> > > > format. So would be possible to use dots! =)
>
> > > These thingies are called language tags and composed of one or many
> > > subtags which denote:
>
> > > - language (en)
> > > - script (Latn)
> > > - region (US)
> > > - variant and other funny stuff
>
> > > Here's a simple parser
>
> > >http://github.com/joshmh/globalize2/tree/master/lib/globalize/locale/...
>
> > > So, yes, it makes a lot sense to allow to pick atemplateby just the
> > > language (i.e. with no region/country specified). I think that's
> > > certainly the most common case.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"rails-i18n" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rails-i18n?hl=en
-~----------~----~----~----~------~----~------~--~---