Closed (fixed)
Project:
Internationalization
Version:
6.x-1.4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2010 at 12:07 UTC
Updated:
11 Aug 2011 at 22:18 UTC
I have no idea if this is the right place to ask for support. I'm using Token actions to send email notifications to authors of a node, when the node got a comment. The email uses tokens but also has some static content. For that reason I'm looking for a way to translate that static content of the mail. I was looking for something like conditional triggers, which triggers an action only if the user language is e.g. english. I was also looking for a multilingual variable but could not find anything in the DB. Any kind of help would be great. Thanks in advance
Comments
Comment #1
kars-t commentedHi
the veriable should be in the "variable" table or look inside of the module. And take a look here: http://drupal.org/node/1113374
Comment #3
vcrkid commentedKars-T,
The link you provided is about Drupal 7, but I believe it's Drupal 6 that is in question. I have the same problem with tokens and would like to solve it. A simple solution (but out of reach for me from a technical standpoint - I just don't know how to write the code) would be to make a Rule condition using user_preferred_language() (see http://drupal.org/node/879422).
This way, just about any rule/action could be cloned and translated, needed only to change the user language condition. Am I making sense or just babbling without a clue?
As I said, I don't have the technical code knowledge to make this... perhaps someone out there does... :-)