Fixing the use of system speech recognition & natural voice TTS for LunaTranslator on Win11
Added 2025-07-03 06:40:18 +0000 UTCMicrosoft quietly updated the system's built-in speech recognition and natural voice TTS models, making them inaccessible to third-party applications. To restore the use of system speech recognition and natural voice models in LunaTranslator, manually add the following keys in userconfig/config.json:
For speech recognition: "MicrosoftWindows.Speech.License": "This model and the software may not be used or distributed in any manner except as authorized under a valid written agreement, using the reference number 2774316. The model and software are licensed and not sold, and the agreement provides limited rights to use the model and the software and Microsoft reserves all other rights. You may not work around any technical limitations in the model or the software, reverse engineer, decompile, or disassemble the model or the software; remove, minimize, block or modify any notices of Microsoft or its suppliers in the model or the software; or, share, publish, rent, or lease the model or software, or provide the model or software as a standalone solution for others to use."
For natural voice TTS: "MicrosoftWindows.Voice.License": "This model and the software may not be used or distributed in any manner except as authorized under a valid written agreement, using the reference number 2774316. The model and software are licensed and not sold, and the agreement provides limited rights to use the model and the software and Microsoft reserves all other rights. You may not work around any technical limitations in the model or the software, reverse engineer, decompile, or disassemble the model or the software; remove, minimize, block or modify any notices of Microsoft or its suppliers in the model or the software; or, share, publish, rent, or lease the model or software, or provide the model or software as a standalone solution for others to use."