Hi I am developing a multi-language site/application and have this scenario:
Check if a cookie exists with a language value. If the cookie does not exists, query a 'ip2country' table, set the language based on user's ip and set the cookie User may change language later and the cookie is updated. My question is about the best place to run this code. I have a _initLanguage method in bootstrap but is this a case better suited for a front controller plugin ? Regards, holo
