Added EE 2.6 compatibility re: Localize class