Loading an entire translation set from a database column


#1

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?


#2

Do you know Tolk?
https://github.com/dhh/tolk

2011/7/15 Steven G. removed_email_address@domain.invalid


#3

Hmm that looks like it just might do the trick. Thanks andres, gonna
give it
a whirl


#4

Yikes, that is one complex looking beast - definitely more than I need.
Will
probably just McGuyver up something myself

cheers tho!


#5

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-different-backends

http://stackoverflow.com/questions/1346939/rails-store-translations-in-database


#6

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