Page 1 of 1

Multitenant i18n

PostPosted: Tue Jul 22, 2008 12:06 pm
by Jeroen de Vries
In our multitenant SaaS application, we allow our customers to add and edit their part of the i18n table. We use
Code: Select all
to enable this.

Is it possible to augment the i18n behaviour in such a way that if a key is not found in the i18n table, an alternative query is done to find a substitute?
In our case, we would like to use the key with TENANT_ID = 0 if a key with TENANT_ID equal to the current tenant is not found. Alternatively, another i18n table could be used containing 'default' translations.