Languages Supported By Gherkin

Profile picture for user devraj

Gherkin is a little formalised natural language that's easy to write by non-programmers.

Gherkin supports over 60 spoken languages., You can write scenarios using localised keywords of your language.

In Behat you can check if language is supported by Behat using below command:

$ behat --story-syntax --lang=fr

Keep in mind that any language different from en should be explicitly marked with a # language: ... comment at the beginning of your *.feature file. Example:

# language: fr
Fonctionnalité: ...
   Scénario: Titre de votre scénario
   ...
Tags