[drupal-devel] [feature] i18n - Support for language-dependent variables

Jose A Reyero drupal-devel at drupal.org
Mon Jan 24 00:48:50 UTC 2005


 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     feature requests
 Priority:     normal
 Assigned to:  Jose A Reyero
 Reported by:  Jose A Reyero
 Updated by:   Jose A Reyero
 Status:       patch
 Attachment:   http://drupal.org/files/issues/i18n_language_variables_01.patch (1.16 KB)

This is a simple patch for bootstrap.inc, which adds a function call for
all the variable functions (variable_get, variable_set, variable_del).

This adds support for language-dependent variables, and does nothing
when i18n.module is disabled.

The idea is to add a language prefix to the variable name, depending on
current language, thus allowing to easily translate some variables to
different languages.

Jose A Reyero

-- 
View: http://drupal.org/node/16071
Edit: http://drupal.org/project/comments/add/16071





More information about the drupal-devel mailing list