Add language files. #4
Use JSON. Improve logic. #1 #2