Skip to content

Commit

Permalink
fix: language code for error_language_not_supported onDevice #541
Browse files Browse the repository at this point in the history
  • Loading branch information
sowens-csd committed Aug 14, 2024
1 parent 6e72c19 commit ac2dc3b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public class SpeechToTextPlugin :
if (null == localeId) {
localeId = defaultLanguageTag
}
localeId = localeId.replace( '_', '-')
var partialResults = call.argument<Boolean>("partialResults")
if (null == partialResults) {
partialResults = true
Expand Down

0 comments on commit ac2dc3b

Please sign in to comment.