[development] Drupal and i18n, the holy grail?

Adrian Rossouw adrian at bryght.com
Mon Feb 27 02:10:56 UTC 2006


On 26 Feb 2006, at 2:16 PM, Bèr Kessels wrote:
> What that would do:
> We add a single table: content_locale (other names are welcome)
> | tcid | lang  | table | column | value |

could you imagine the joins needed for something like that ?
and how tall that table will become ? Or if you don't use joins
how many extra queries per page that will need?

With a query builder, and having an array of the columns and tables.
(i'm not talking about the .install, all the .install does is  
create / maintain
this array, drupal itself knows how to spawn tables based on this array)

You could define individual column of a table to be translateable ,  
and a
query builder could automatically join in the correct language version
of the table.


--
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com




More information about the development mailing list