Not sure if this is an issue for tContact or i18n.

With i18n installed, my site is configured to use Path Prefix Only language negotiation. I'm running it on English and Spanish. I can translate the user interface of the contact form, but when I send test messages, the email always starts with "SomePerson sent a message using the contact form at http://mysite.com/contact." Since everything else in the site is separated by language prefix — that is, all the Spanish content is prefixed by /es/ — I expected the email to also say http://mysite.com/es/contact if the message was sent from the Spanish version.

Comments

haffmans’s picture

Project: tContact » Drupal core
Version: 6.x-1.1 » 6.16
Component: Miscellaneous » contact.module

Forwarding to Drupal Core. The contact form URL is somehow not properly retrieved when sending the email. That is, as far as I know, part of core's contact.module. Could still be a problem in i18n though, I'm not sure which one (core or i18n) is responsible for properly constructing the URLs depending on the selected language.

spade’s picture

Similar setting, but language negotiation by domain name. Same result: Message text always says: sent a message using the contact form at... The proper translation is there, but not used.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.