I've written a plugin that allows users to add information in the database. It runs well but I can't translate the information using WPML. This is a simple example of the problem:
$message = 'test'; // here I get the information of the DB
__($message, 'my-plugin');
Is there a way to workaround this problem? I don't know if we can use a variable instead of a string to translate. When I analize the widget in the Admin panel it don't show the string to translate.
This example works in WPML because is a string: __('test', 'my-plugin');
Thanks in advance.

__()'and_e();functions works with placeholders just fine and its a php functions and not a WPML functions, so either i'm not getting the question or it's just poorly stated, can you explain a bit more, what you are trying to do? – Bainternet♦ Apr 4 '11 at 0:02__()and_e(), but instead of echoing a string like_e('message','myplugin');I want to echo the information I get from the DB , so I have a variable with the content I get like `_e($message,'myplugin'). This works well, echoing the information, but when I go to the WPML to translate the string it doesn't appear and I can't translate it. – albertgrala Apr 4 '11 at 9:39