Skip to content
XHiddenProjects edited this page Aug 9, 2024 · 1 revision

Available languages

Here are some language the AI supports

  • English (United States)
  • Deutsch (Deutschland)
  • Francaise (France)

Adding languages

  1. Start a new file called {language_name}-{language_country}.json example fr-FR = french-France
  2. Copy this code:
   "en-US":{
            "name":"English",
            "dictionary":{
                "title": "WebServerAI - XHiddenProjects",
                "name":"Name",
                "version":"Version",
                "updated":"Updated",
                "nav":{
                    "send": "Send (Enter)",
                    "lastestHistory": "Latest History",
                    "pastHistory": "Past History",
                    "clearHistory": "Clear History",
                    "clear":"Clear",
                    "help": "Extra information",
                    "changeTheme":"Change theme",
                    "intxtdbl":"Insert In-Text Double quotes",
                    "intxtsgl":"Insert In-Text Single quotes",
                    "intxtaps":"Insert In-Text Apostrophe",
                    "intxtnl": "Insert In-Text New Line",
                    "mic": "Toggle Mic"
                },
                "cmd":{
                    "help":"Gives the list of commands",
                    "clear":"Clears out the entire history or a certain index",
                    "info":"Returns the AI information",
                    "connect":"Connects you to another page",
                    "preview": "Previews the page"
                },
                "clipboard":{
                    "success":"Copied to clipboard",
                    "error":"Error writing to clipboard"
                },
                "ai":{
                    "success": "Successfully executed",
                    "error": "There was an error with this statement"
                },
                "console":{
                    "previewNotFound":"Preview box not found!",
                    "previewBtnNotFound":"Preview button cannot be found",
                    "chatBoxNotFound":"Chat box not found!",
                    "voiceTypeToggleNotFound":"[VoiceType] - Toggle button not found",
                    "voiceTypeResultsNotFound": "[VoiceType] - Results not found",
                    "voiceTypeSpeechError": "[VoiceType] - An error has occurred",
                    "voiceTypeSpeechNotEnabled": "[VoiceType] - SpeechRecognition is not supported",
                    "elementNotFound": "Element not found"
                }
            }
        }
  1. Translate it
  2. To share go to issues > "New Issue"
      Title: _your_language_name_
      Message: whatever you want to write
      Label: "Language"
      Upload: Your translated file
Clone this wiki locally