Added support for language packs and improved patch detection