Instead of
<%= liferay-ui:message key="captchalang"%>
use
<liferay-ui:message key="captchalang"></liferay-ui:message>
because this liferay thing is apparently a tag library.
That also means at the top of your JSP you will need to include the tag library. It should look something like this:
<%@ taglib uri="http://liferay.com/tld/liferay-ui" prefix="liferay-ui" %>
and you will also need to put the jar file of the tag library in the right spot on the server.