Support translation in error message
Fix function grefresh