Dont know if it is a bug or a drupal issue. In the contact form settings there is a Additional information: field, the text you enter here will be displayed allways the same in any language. I didnt find any way to translate this string. Only way is leaving it blank.
Comments
Comment #1
haffmans commentedPlease read the module's main page or readme. You'll need to have i18n (Internationalization) installed as well. Add the following line to your settings.php file:
$conf['i18n_variables'][] = 'contact_form_information';Then change the setting for all languages (including at least re-saving it for the default language). Just visit the settings page using all the domains/path prefixes to switch languages when saving the setting. That should do the trick.
Comment #2
kuli70 commentedThat might work... Thank you for your help.
Comment #4
robya commentedDon't know this is related here but i have a similar problem with the "Default Additional Information for the individual contact pages" on the contact/settings page.
I can translate the "Standard Contact Form Additional Information". But the "Default Additional Information for the individual contact pages" stores only one language. I type in the message in the first language, save it and change the language setting. If i change the message in the 2nd language and save it then it changes also the message in the first language. is there another i8n variable name for this field?
I know that i can translate it in each category. But i need it to be done global on the settings page because it is too time consuming to do it on each category.
Thanks in advance
Comment #5
robya commentedComment #6
haffmans commentedThe setting should be marked as "This is a multilingual variable" if done correctly. Is the "Default Additional Information for the individual contact pages" setting perhaps from the Contact Forms module (and not Drupal Core)? If so, find out the variable name and add it to the settings.php file in a similar manner.
Also, note that you need to save settings in both the default and other languages after adding them to the settings.php file, otherwise the first translation will override the default language's setting.
Comment #7
robya commentedThanks for pointing me in the right direction.
You where right...the field in contact settings was from the Contact Forms Module. And after a short look into the code i was able to find the right variable (contactforms_information).
I put this variable into the settings.php and now it works like a charm.
Thanks again for your fast reply. You spared me a lot of time.. ;)
Comment #8
haffmans commentedThanks for the extra info - I've added the info to the project page.
Comment #9
jeeba commentedHi i have the same proble, i put the $conf['i18n_variables'][] = 'contact_form_information' in settings.php, but when i change it from languague to language, it jsut show me the last string I inserted. Im using Drupal 6.19 and tContact 6.x-1.2. Maybe im doing something wrong but , how can i know whats happening?. I dont see anything about multilaguage variable inside the edit form of the contact form.
Comment #10
jeeba commentedSorry , it was no problemfrom the tContact Module, settings.php have chmod 555 permission, so when my FTP manager tried to update that fie it just couldn't and the file never got those $conf[] variables. So this is fixed!
Take a look at your FTP always , i didnt see it.