Simplified Router global before hook (setLanguage)