I have a question for you experts.
I am willing to create a multilingual website.
So in order to do that, I’ve planned to create a translations table, which will contain the following columns:
id, lang_id, table, key, value
The table col means which table is the row related to.
The bottom line - how I make an ActiveRecord attach a new JOIN clause to the query which will take values from the translations table?
Is there a better idea how to create a multilingual website?