A more general regex for language codes
Some code clean-up
Delete translations from original's metadata if they have been deleted