Forum OpenACS Development: acs-lang problem reading value in database

I'm trying to read fields in the database for translation using the acs-lang package ...

the field "psi_name" store <span>#</span>dotlrn.status_project1#

the request in xql look like

select CAST('[_ ' AS text) || psi_name || CAST(']' AS text) as status_name

so I was expecting a result like :
[_ <span>#</span>dotlrn.status_project1#]

BUT
all I reveive is an error message saying

called "_" with too many arguments
while executing
"_ ' AS text) || psi_name_us || CAST('"

As I understand ... he's trying to translate THE QUERY instead of the RESULT of the query ...

Any idea welcome...