I have a problem. All the labels in contact form are translated apart from the one saying: "You can leave a message using the contact form below." The funny thing is they ARE translated when I check "manage strings" options. Also "You can leave us a message using the contact form below." is translated too, though I have no idea where this one goes (notice: the second one has an extra "us" in it). Even though in manage strings I can see a translation it doesn not show up in contct form. I repeat that other things are translated. I also cannot make a link that says "Contact us" translated (it is displayed in the header section as primary link). "The same" link saying "Conact us" that I have in navigation menu on left side IS translated, so I guess the name of the other one shoudl be translated too. And another weird thing - when I switch to for ex. polish the translated left side "Kontakt" (Contact us) leads to... english version (and changes langueage to english too). The untranslated one leaves the language...
Help appreciated.
======
I've found one thing - to make the left menu lead to translated version i've typed "contact" instead of a full path, dunno why it works this way only... I've done the same for my "Welcome message" but now the languages I didnt translated into et make it link to non-existent sites
======
Comments
Use /sites/default/settings.php
Here is what I have done (it works on a site with 3 languages: English, Italian and French):
I have added a variable into /sites/default/settings.php :
Then I switched interface language to Italian and translated the field "Additional information" in admin/contact/settings.
Finally I switched interface language to French and translated the field "Additional information" in admin/contact/settings.
All done.
By the way, you can add almost every system variable to the i18n_variables array in settings.php, and translate/customise it for all site's languages
using the standard administrator interface.
(e.g.
All the best,
Riccardo
Works, but won't change the menu name on page
I did what you described and it works. The English 'Primary Link' item called 'Contact' displays on the French site as 'Pour nous joindre'. And when you view the page in each language, all the contact form fields display. However, the menu name 'Contact' appears as a header on the contact pages in both languages.
I tried a bunch of things in the menu control panel changing language views, changing language selected from the drop down that it makes my mind hurt to think about it. Still didn't solve the problem. Any ideas?
Also, how can I figure out what the variable is for my Event calendar module? I want to add it to the settings.php list like you did above for other modules.
.
.
Had similar problem... (on D6!)
A similar problem still seems to apply to even D6 and i18n!
I even had two contact links popping up, a German one and an English one, even though they both lead to an English (i.e. untranslated) version.
Until you find the newly released module tContact !
Have a look here:
http://drupal.org/project/tcontact
I added this link in this "deprecated" section of drupal.org, because that's where I found someone having the problem described above. Now someone using the same search terms relating to that problem will be able to find a solution.
Thanks!
Thanks for your reference here! It's an annoying problem, and I've been beating around the bush for more white nights than I care to count. The tcontact module should be made part of the core.
/Hertz
Menu hack
Just make for each language menu item in that language, then just active language menu item will be shown.
Language dependent variables have problems with Asian language
Hi, I am building a multilingual web site supporting Asian languages using utf-8 encoding. Most of the functions of i18n module work fine except for the language dependent variables. I set the variables in the setting.php file. They all show the text "This is a multilingual variable" under the input box. I switched to a different language and entered the translation. After clicking on the "Save Configuration" button, the translation disappeared though the message said "Your setting has been saved". The translation didn't appear on the HTML page either. However, when I searched the MySQL database, the translation was there. The translation was entered and saved in the database but can never appear on the web page.
I wonder if this is a bug in the i18n module or there is some special configuration I missed for Asian languages. I tested English characters in the translation. It worked fine. In other words, when I enter just English chars (of course different texts to distinguish the translations) in all the languages I support, the English texts in all the translation show. But not for multi-byte Asian languages.
BTW. I am using Drupal 5.
Any help would be appreciated.
it's a bug in how the tables are setup
use phpmyadmin and go to your drupal database. click on each i18n table, click operation tab and make the Collation utf8_general_ci and click go.
This doesnt work for me
This doesnt work for me
Dagomar Paulides
B.A. Digital Media Design
Partner @ Online Agency
i18n contact form translation
Thanks, this worked for me.
version 6 plan
I don't see the right place to add this code in v. 6.5
Is there another way to get primary links to translate?
thanks
Was using Drupal 5 when I
Was using Drupal 5 when I posted that.
Hi, I did all the
Hi,
I did all the translation without using i18n (I think Locale and Translate Content modules do all the magic in D 6.x and i18n is not very necessary), so I have no i18n_variables array. But I couldn't do the translation of contact form information. Do you know another variable name where I can define the translation of contact form information?
I also tried to alter the locale custom strings in settings.php but it didn't work:
tia.
i'm trying to do this with
i'm trying to do this with Drupal 6.9 but its not working.
Anyone know of an up-to-date solution ?
the solution may lie here -
the solution may lie here - http://drupal.org/node/376378
Module
Finally a Module to solve this:
http://drupal.org/project/tcontact
--
Drupal Theming at
www.pitxels.com