Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1009609 // currentBotLanguage - returns "de-DE" or "en-US"

JavaX fragment (include)

static S currentBotLanguage() {
  ret or2(trimLoadTextFile(javaxDataDir("bot-language")), "en-US");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009609
Snippet name: currentBotLanguage - returns "de-DE" or "en-US"
Eternal ID of this version: #1009609/4
Text MD5: 9ca2d23041173488537290ce32cd53a3
Author: stefan
Category: javax / speech assistants
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-21 13:43:35
Source code size: 103 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 484 / 535
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009610 - botAnswerWord - what bot answers when spoken to ("yep" or "ja")
#1023266 - setCurrentBotLanguage (e.g. "de-DE" or "en-US")