Dear all,
I wanna creates and retrieves strings in my course format, call it xformat.
So I create some strings in course/format/xformat/lang/en/format_xformat.php like this
$string['hello'] = 'Hi';
$string['welcome'] = 'Welcome to ';
I want to retrieve that string in the renderer file, I read String API format it should be like this;
get_string('hello', 'format_xformat', null, true);
I didnt get the strings, but I get this
[#[#hello#]#] (without #)
Could somebody help me what should I do? Is that something wrong in my code? I have look around at google and found no idea about this matters.
Thanks