Closed (works as designed)
Project:
FAQ_Ask
Version:
6.x-1.2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2009 at 11:38 UTC
Updated:
19 Oct 2009 at 21:28 UTC
In multilingual site (I use 2 languages) this text is not translated. Obviously because this http://drupal.org/node/322729 has not been taken into consideration in some parts of the code.
ln 39 return variable_get('faq_ask_help_text', _faq_ask_help_default());
I guess it should be: return t(variable_get('faq_ask_help_text', _faq_ask_help_default()));
This can also bee observed in v 6.x-2.0-alpha1
Comments
Comment #1
nancydruThe page you pointed to is not the correct one for this case. There is another that I need to look for that explains how to make interface strings like this translatable. And it means you have to do part of it (using the $conf setting in settings.php).
Comment #2
nancydruhttp://drupal.org/node/313272
If I missed some legitimate uses of t(), please let me know. Otherwise, translating variables as you suggest is the wrong way to do it.