Whenever a checksum is invalid, alert the user the phrase is not one thing produced by your application, and request if they would like to use it anyway. This way, your app only should maintain the wordlists for the supported languages, however, you can recover phrases created by other applications https://highkeysocial.com/story5128524/the-invalid-bip39-phrase-diaries