Hello,

I have implemented tolk engine by dhh to add translations and then create
.yml files from it. It works well for text.

Now what I want is same behavior over images.

I create follwing structure in my en.yml file -

images:
  logo: "/images/en/logo.png"

and for hi


images:
  logo: "/images/hi/logo.png

and in my views, I have - <%= t("images.logo") %>

This also works for showing different images depending on locale.

But I want to add these translations via tolk engine, so that I can directly
upload images from there, and they will stored in respective folders. Also
when yml files will be created, that will include structures like above.

Is there any tolk fork already doing this ? or people prefer
different approach for image translations(replace as per locals) than this ?

Thanks.


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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to