Forum: Rails I18n Loading an entire translation set from a database column

Posted by Steven Garcia (Guest)
on 2011-07-15 14:42
(Received via mailing list)
Is it at all possible for me to load the monolithic YAML from a database
column, as opposed to using a file load path?

I'm working on a multi-site CMS and rather than have programmers 
tediously
enter each translation in CRUD fashion, I just need them to be able to 
add
to the existing locale on the fly.

I basically want a table of locales which only have one column, to hold 
the
YAML text you'd normally put in the locale file.

Any ideas?
Posted by Andrés Gutiérrez (andresgutgon)
on 2011-07-15 15:12
(Received via mailing list)
Do you know Tolk?
https://github.com/dhh/tolk

2011/7/15 Steven Garcia <stevendgarcia@gmail.com>
Posted by Steven Garcia (Guest)
on 2011-07-15 19:31
(Received via mailing list)
Hmm that looks like it just might do the trick. Thanks andres, gonna 
give it
a whirl
Posted by Steven Garcia (Guest)
on 2011-07-15 19:35
(Received via mailing list)
Yikes, that is one complex looking beast - definitely more than I need. 
Will
probably just McGuyver up something myself

cheers tho!
Posted by Henrik --- (malesca)
on 2011-07-15 19:42
(Received via mailing list)
You can plug different backends into Rails i18n. Not sure what the
latest and greatest is, but this should get you started:

http://guides.rubyonrails.org/i18n.html#using-diff...

http://stackoverflow.com/questions/1346939/rails-s...
Posted by Translate Humans (translatebyhumans)
on 2012-03-13 12:44
Hey Steven,

In fact I also don’t have Idea but may be somebody know and respond us 
for this postfix. I  am also waiting for appropriate and ideal react.

http://www.translatebyhumans.com/human-translation
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.