Displaying 1 result from an estimated 1 matches for "articles_de".
Did you mean:
articles_dk
2006 Jan 04
4
Need some implementation ideas :-)
...system to publish articles within. The caveat is that he wants
to have multi-lingual content.
At first I thought RoR would be perfect for the assignment but right now
I''m not so sure.
My first attempt involved creating a table for each model/languagde like
this:
articles_en
articles_dk
articles_de
etc
but then I will dynamically need to change the used table per request.
Seems like something that will slow down the app quite a bit.
Then I thought I could create the primary key in the table like a joined
key of the id field and language so I would have these ids:
1-en
1-de
2-en
2-dk
etc...