hi.

this is a clean drupal install on my local machine, with the l
Apache 2.2.3
PHP 5.2.0/4.4.4
MySQL 5.0.27
drupal 5.1
latest dev version of localizer
replaced patched files

I get this when I go to admin - site configuration - site information:

warning: array_key_exists() [
function.array-key-exists
]: The second argument should be either an array or an object in C:\www\drupal\sites\all\modules\localizer\localizer.module on line 1153.

I suspect it's to do with php5 but I haven't tried to downgrade.

Comments

Roberto Gerola’s picture

Strange.
In every case I have add a check to prevent this warning now.
You need the latest localizer.module file from here :
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/lo...

Let me know

Thanks for you feedback.
I hope to be able to release a new stable version in a week or so.

mohammed76’s picture

hi roberto!

thanks alot. the latest localizer.module has solved that problem.

a new problem has arrised, and I am not sure weather to mark this issue closed or to open a new issue. if you feel I should, let me know.

anyway, here we go:

the field for the site email address is unavaillable for both languages, it is there, but it's not editable. I even suspect it would be the case for any variable who's content can't be multilingual by nature.

thanks.

Roberto Gerola’s picture

>the field for the site email address is unavaillable for both languages
Yes. All the fields that has no sense to be translated are in read only but in the default language.

If you think that this field must be translatable I can add it to the localizervariable module.
If you take a look to that file you can see how I have defined the translatable fields.

I have to find a good way to make this list available in the configuration options.

mohammed76’s picture

Status: Active » Fixed

hi.

mohammed: "> I personally don't think there's a need to translate the site e-mail address, but it shouldn't be unavaillable, because, while this module is installed, there may be a need to change, or edit this later."

roberto: "But you can change if you switch to you main language
using the combobox at the top."

thanks alot roberto! issue solved.

Anonymous’s picture

Status: Fixed » Closed (fixed)