Made locale service optional in view globals