I'm trying to get a multi-language site up and running, and would like to look at using the i18n module. However, after installing it apparently successfully, when I activate the block, instead of getting a nice "language" menu, I get this message:

warning: call_user_func_array(): First argumented is expected to be a valid callback, 'i18n_links' was given in C:\Apache\Apache2\htdocs\drupal\includes\theme.inc on line 219.

Some help would be appreciated, perhaps some more detailed installation instructions for non-PHP types like me who don't want to understand the code? :?

Actually I would be happy to see this thread start yet another discussion of internationalization issues, badly needed in my view

Joel

Comments

matteo’s picture

It looks like you're not using the right version of Drupal.
I suspect it only works with Drupal CVS...

Matteo

joel_guesclin’s picture

I'm using Drupal 4.3.0 - I presume that CVS is development for version 4.4.0?

I'm a bit worried about this because I'm not very clear how all the contributed modules follow behind the new releases, that's why I started with 4.3 because it seemed reasonably stable.

Joel

killes@www.drop.org’s picture

but you cannot expect cvs modules to work with it. Only modules marked as "4.3" can by expected to work with Drupal 4.3.

Michael_Lessard_micles.biz’s picture

Actually, when used with Drupal 4.3, the language block will not work, BUT the module still automatically detects the browser's main language and therefore sets the appropriate 'localisation' for viewing your site! This means that though you won't have a block with choice of language, your site will show the right language if the surfer has his/her browser set-up right.

For example, my site is French/English, but with this module, English surfers will almost always automatically open the site in English! (which is excellent and important)

Michael Lessard
webmaster of Siriel-Media - world citizens sharing news about "policies of mass destruction" (crimes against humanity, crimes of war and violent policies against civilian populations)

Michael Lessard
webmaster of Quebec City "democracy in action" media

Gidget Digit’s picture

hi there... i have the same problem as the original poster, and i'm using 4.4.

'call function array' error , and it too refers to line 219 of the theme.inc

i have all the other config set up correctly, i believe, the strings are translating properly, they're viewable when a user chooses the alternative language (FRENCH in our case). but i'd like users and visitors to be able to see the language options in a box right on the front page, which i assume the 'languages' box should do, and i can't get past this function error.

is there anyone else who knows the problem?