i18n Localized Variables extends Internationalization module to let Drupal utilize localized variables for each enabled language without modifying sites/default/settings.php.

It passes automatically all available variables that are registered in Drupal 'variable' table and loaded to $conf array at Drupal boot time into the $conf['i18n_variables'] array.

Module also utilizes basic cache to pass all variables once after module installation or reconfiguration and then load data from cache.

http://drupal.org/sandbox/designend.net/1149868

That's first module of mine that I try to commit to drupal.org, but GIT is driving me a bit crazy, I don't know whether files I commited are available or not here, so I attach this module in a ZIP file right now.

Comments

endryu87’s picture

StatusFileSize
new7.91 KB

Small fix, due to wrong callout in cache get.

endryu87’s picture

StatusFileSize
new9.9 KB

Module update, current functionality in Readme.txt and Sandbox project description.

endryu87’s picture

Component: new project application » module
StatusFileSize
new10.73 KB

Added: language switch links to all localized form fields, to switch to another language on current settings form, in order to set variables on different languages.
Anyone to review, to switch i18n Localized Variables to full project out of sandbox?:)
Cause it would be a good solution for D6 i18n websites:)

ralt’s picture

Priority: Normal » Critical

Changing priority according to the new priority guidelines.

@endryu67 : you should be looking at the git instructions tab on your project page, this should help you.

mlncn’s picture

Status: Needs review » Fixed

Hi endryu87, i went ahead and gave you vetted git access (ability to promote sandbox projects to full projects) because you've been waiting months, your code is of good quality, and your series of self-corrective commits show that you had git working fine for you after all!

There is some cleanup work for you right away, an advance taste of the ordinary joys of project maintenance:

* Please remove the LICENSE.txt. Drupal.org's packaging script adds it automatically.
* Please reformat the code to follow Drupal coding standards: indent two spaces, not four, for each level.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.