Yaml returns string only. So, I guess what you can do use

foo:
  'bar baz'

and then f('foo').split(' ')

it's hack, but i don't see other option.

On Wed, Nov 2, 2011 at 4:47 AM, patrick99e99 <[email protected]> wrote:

> say I have:
> locales/file1.yml
>
>  en:
>    foo:
>      - bar
>
> locales/file2.yml
>  en:
>    foo:
>      - baz
>
> I want to be able to call t("foo") and get ["bar", "baz"]..  Is there
> any way to do this?
>
> -patrick
>
> --
> 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.
>
>


-- 
Ratnadeep Deshmane.
http://rtdptech.com

-- 
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.

Reply via email to