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

67c02d91e6570d0a0f6e67f96dd7ce28?d=identicon&s=25 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?
Adce10d7f1dbabcdab8f525a59cec32f?d=identicon&s=25 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>
67c02d91e6570d0a0f6e67f96dd7ce28?d=identicon&s=25 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
67c02d91e6570d0a0f6e67f96dd7ce28?d=identicon&s=25 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!
4a551074ddba4460f95d011c47190d0e?d=identicon&s=25 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...
D6158ccae0462937e532b880e181d8ee?d=identicon&s=25 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
This topic is locked and can not be replied to.