Best way to saving localized static content?

Odin is right, I do mean storing multiple versions of pages in different languages, I thought I could just leave it in YAML and in-place edit it and I stumbled across this asciicasts.com/episodes/256-i18n-backends We change the i18n backend to Key-Value backend (Hash) but then it would mean that each restart of the webserver the hash will be lost and thus the article suggests using Redis another key-value storage which calls itself Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets It seems fairly clever saving it like this, because I still use the Rails l18n, meaning I can route everything fairly easily, but I am enabling the user to edit the content for each locale.

Odin is right, I do mean storing multiple versions of pages in different languages, I thought I could just leave it in YAML and in-place edit it and I stumbled across this - asciicasts.com/episodes/256-i18n-backends We change the i18n backend to Key-Value backend (Hash) but then it would mean that each restart of the webserver the hash will be lost and thus the article suggests using Redis another key-value storage which calls itself Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. It seems fairly clever saving it like this, because I still use the Rails l18n, meaning I can route everything fairly easily, but I am enabling the user to edit the content for each locale.

A long time ago Ryan Bates made a Railscast about that very subject: railscasts.com/episodes/117-semi-static-... Personally I just put these types of pages like regular pages in the database.

I don't think this is what the OP is asking. I believe he is talking about storing multiple versions of pages in different languages. – odin Aug 22 at 23:35.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions