RE: A language question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the first way is better, the second creates a wider table, and what happens when you start having more than just a few languages, the table grows wider still

bastien

From: Bruno B B Magalhães <brunobbm@xxxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject:  A language question
Date: Wed, 8 Dec 2004 11:31:22 -0200

Hi guys,

I am thinking about content translation...

Current I am using for example:

contentId | contentTitle | contentBody |  contentLanguage

So each row has its own language definition...

But would it be better using cols as language fields and retrieve only need cols...:

contentId | contentTitle_en_uk | contentBody_en_uk

The second option would be less space consuming?

Any others ideas?

Best Regards.
Bruno B B Magalhaes

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux