Behave – Supported Languages

Behave - Supported Languages

Behave – Supported Languages. We have the option to utilize other languages apart from English in the feature file. This is because the majority of BDD tools have the support for internationalization. The important fact is that topic.

In that case, the developer can implement the step definitions in other languages as well.

The following screen will appear on your computer after using the command behave –lang-list −

Behave - Supported Languages

Mentioned below −

Behave - Supported Languages

A feature file can this time, the BDD framework chooses the keywords for that specific language.

Behave configuration files can be either, .behaverc or behave.ini files. The value for the parameter lang should be set to da in the configuration file if we want the language to be Danish.

Behave Supported Languages Configuration file setup

The feature file example is Danish (da).

[behave]
lang = da

Next Topic – Click Here

This Post Has One Comment

Leave a Reply