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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | i18n_localized_variables.zip | 10.73 KB | endryu87 |
| #2 | i18n_localized_variables.zip | 9.9 KB | endryu87 |
| #1 | i18n_localized_variables.zip | 7.91 KB | endryu87 |
| i18n_localized_variables.zip | 7.9 KB | endryu87 |
Comments
Comment #1
endryu87 commentedSmall fix, due to wrong callout in cache get.
Comment #2
endryu87 commentedModule update, current functionality in Readme.txt and Sandbox project description.
Comment #3
endryu87 commentedAdded: 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:)
Comment #4
ralt commentedChanging 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.
Comment #5
mlncn commentedHi 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!