Tested and proven languages function works.
Implemented triggered alerts, have to use library function by $this->alerts->flash_alert($type,$alert_key). Alerts messages are set in the language file.