I was looking for a way to translate the messages and came across this http://drupal.org/node/134002

I then looked into my database and, unlike Drupal standard messages, the message parts defined in the templates are not in "variables" but in "messaging_message_parts".

Is there a way to access those text fields as variables so that they can be translated?

Tx

Comments

jose reyero’s picture

Status: Active » Closed (works as designed)

Nope

castawaybcn’s picture

After some investigation I did realize that actually this turned out to be a rhetorical question.

This is kinda shocking as you are the maintainer of the internationalization module, isn't it? Don't take it personally Jose, I know consistency is a b**ch, and this is a great module all things considered.

Do you intend to implement this at some point in the near future?

castawaybcn’s picture

I tried a clumsy workaround with this module http://drupal.org/project/language_sections with the following result:

The good:

  • it works, kinda.

The bad:

  • kinda.
  • subjects do not accept any html filters, so the trick cannot be applied there. Solution: change them to something simple like the site's name (not great but not that terrible either)
  • emails are sent in the language which was used at the update/creation of content. Solution: tried banging my head against the nearest wall for a while with no noticeable effects on the Drupal site, however I am now slightly confused on the origin of my headaches regarding this issue.

Is there any chance my workaround could work at all?