Language Detection spoke

  • Release version: Yokohama
  • Updated January 30, 2025
  • 1 minute to read
  • The ServiceNow Language Detection Service spoke is an in-house language detection service offered by the ServiceNow platform. It provides a single subflow and action to identify the language of a given text.

    The ServiceNow Language Detection Service spoke plugin (com.glide.language_detection_spoke) is available with the activation of Dynamic Translation plugin (com.glide.dynamic_translation).

    This spoke creates an entry named ServiceNow in Dynamic Translation's Translator Configurations (sn_dt_translator_configuration) table. By default, this entry is active and marked as default for detection. To configure your own language detection service, see Integration with other translation services.

    Subscription

    This spoke requires any ServiceNow subscription that is Professional or above, and includes Dynamic Translation.

    Supported versions

    API versions v3 and v4.

    Spoke subflow

    The spoke provides the subflow in the Published state to integrate with the ServiceNow language detection service.
    Table 1. Spoke subflow
    Subflow Description
    Inputs
    Detect Language [detect_language_v3] or [detect_language_v4] Detects the languages of texts using ServiceNow Language Detection Service.

    The v4 flows for Dynamic Translation are supported from the Xanadu Patch 3 release. For more information, see Migrate customized Translator Configurations to v4 flows.

    Spoke action

    The spoke provides the action in the Published state to integrate with the ServiceNow language detection service.
    Table 2. Spoke action
    Subflow Description
    Inputs
    Detect Language [detect_language_v3] or [detect_language_v4] Detects the languages of texts using ServiceNow Language Detection Service.

    The v4 flows for Dynamic Translation are supported from the Xanadu Patch 3 release. For more information, see Migrate customized Translator Configurations to v4 flows.

    The ServiceNow Language Detection service uses the following Dynamic Translation APIs to detect the language of the input texts:
    • getDetectedLanguage: Provides text to identify the languages.
    • getDetectedLanguages: Provides texts to identify the languages.
    For more information, see DynamicTranslation API.