I want to develop a feature for localization in my website. website is developed in CGI(C, C++) and PHP mysql.
If I use po/mo for translation gettext extension is available in both CGI and PHP.
I am concern about processing and overhead on server for translation. Is mo loaded on server and each translation need to done on server itself or it loads on client side?
If I am using xml files for translation it loads on client side and helps to find translation for html and JavaScript using ID.
I just want to know which one is best with respect of server overhead and processing and how mo works. How it uses cache?