changed lang file format to array-based