Where do I place a set_locale in Kohana PHP framework?
- by janoChen
In the following tutorial: http://pinoytech.org/blog/post/Kohana-2.4-I18N-internationalization-and-localization-Library the author says:
I'd put it in a Base Controller so
that all Controllers inherit it.
this is the code:
I18n::set_locale('tl_PH');
I tried placing it in all the controller and places I could but is not working.
Which is the exact place where I should place it?