delete blank lines
Add the option to append the language code to key
Remove app-specific code
Update comments and remove some blank lines