Skip to content

Commit

Permalink
Listen: extend default language list to all supported languages (#1097)
Browse files Browse the repository at this point in the history
feat(listen): expand default language list to all supported languages
  • Loading branch information
Gio2018 authored Oct 18, 2024
1 parent 75064b7 commit 5df1089
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion PocketKit/Sources/PocketKit/Listen/Listen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,27 @@ class Listen: NSObject {
self.source = source
super.init()
// Set a default set of languages that the server will overwrite when it loads
PKTListen.supportedLanguages = ["en"]
PKTListen.supportedLanguages = [
"da",
"nl",
"ko",
"ja",
"is",
"ro",
"cy",
"fr",
"it",
"ru",
"pt",
"sv",
"tr",
"en",
"es",
"pl",
"de",
"no"
]

PKTSetConsumerKey(consumerKey)
PKTLocalRuntime.shared().start()
PKTListen.sharedInstance().sessionDelegate = self
Expand Down

0 comments on commit 5df1089

Please sign in to comment.