// Check if the user has the language installed... private async Task<bool> CheckLanguageInstalled() { _language = new SpeechService(_targetLanguageCode); var languageFound = _language.IsLanguageFound(); if (!languageFound) { var errorMessage = string.Format( "Requested language code[{0}] is not installed. Please exit and install the [{1}] speech pack for Windows Phone 8.1.", _targetLanguageCode, _targetLanguageCode); var errorDialog = new MessageDialog(errorMessage); await errorDialog.ShowAsync(); return true; } return false; }