Note that there are some explanatory texts on larger screens.

plurals
  1. POWhere to store translations in cloud applications?
    primarykey
    data
    text
    <p>I am currently building an application for an architecture running in the amazon cloud (some webservers w/ php5.3, load balancing, PostgreSQL).</p> <p>A key feature of my (PHP5) application is, that everything (on the frontend) has to be translatable into various languages, so there will be lots of strings, which are represented by a "token", that have to be translated.</p> <p><strong>My Question ist: Where would you store these translations?</strong></p> <ul> <li>Store the translations in files on the local (webserver) disks?</li> <li>Store the translations in files on a central storage?</li> <li>Store the translations in the database?</li> <li>Elsewhere?</li> </ul> <p>Additional info: No matter where the translations will be stored - there will be some caching (Redis, + template cache), so the files / DB will not be queried on every rendered page.</p> <p>Each of the above solutions has pros and cons, and after lots of discussion in my team, we did not find a solution that we all were happy with.</p> <p>Some of our thoughts:</p> <ul> <li>Files are easier to maintain (update translations via overwriting files)</li> <li>DB-Tables are more flexible (build a nice translation interface around the translation data)</li> <li>DB-Tables are only stored once; so this is cheaper than lots of files in the cloud, i think (we pay for storage and data transfer)</li> <li>Central storage for the files could be a bottleneck</li> </ul> <p><strong>So what is your oppinion?</strong></p> <p>Greetings, Robert</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload