This is a little code snippet from php manual:
putenv(\'LC_ALL=zh_CN\'); setlocale(LC_ALL, \'zh_CN\'); bindtextdomain(\'domain\', \'./locale\'); textdomain(
I called clearstatcache(); function after translating from messages.po to messages.mo and its working fine without restarting apache. Loading each change what I am making in any language file.
clearstatcache();
messages.po
messages.mo