How to use the @microsoft/recognizers-text-suite.Culture.German function in @microsoft/recognizers-text-suite

To help you get started, we’ve selected a few @microsoft/recognizers-text-suite examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / botbuilder-js / libraries / botbuilder-dialogs / src / prompts / promptCultureModels.ts View on Github external
inlineOrMore: ', or ',
        yesInLanguage: 'Yes',
        noInLanguage: 'No',
    }

    public static French: PromptCultureModel = {
        locale: Culture.French,
        separator: ', ',
        inlineOr: ' ou ',
        inlineOrMore: ', ou ',
        yesInLanguage: 'Oui',
        noInLanguage: 'Non',
    }

    public static German: PromptCultureModel = {
        locale: Culture.German,
        separator: ', ',
        inlineOr: ' oder ',
        inlineOrMore: ', oder ',
        yesInLanguage: 'Ja',
        noInLanguage: 'Nein',
    }

    public static Japanese: PromptCultureModel = {
        locale: Culture.Japanese,
        separator: '、 ',
        inlineOr: ' または ',
        inlineOrMore: '、 または ',
        yesInLanguage: 'はい',
        noInLanguage: 'いいえ',
    }