How to use the @microsoft/recognizers-text-suite.Culture.French 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: ', of ',
        yesInLanguage: 'Ja',
        noInLanguage: 'Nee',
    }

    public static English: PromptCultureModel = {
        locale: Culture.English,
        separator: ', ',
        inlineOr: ' or ',
        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',
    }