Which is the best way of implementing a language translation for mutli -lang site. I have two methods, i.e.
1) Just put all the static text contents in the pages to database ie a database driven programing style
$translation('register_form');
<form >
<input name="search" >
</form>
some sort of transltion.
2) is in like wordpress .mo files method.
I want to know more about that kind of translation , how it works with .mo like files...
or any other better way to make a translation module.