Search code examples
ruby-on-railsruby-on-rails-3cucumberlocale

How can I write Cucumber scenarios in German?


For my current project I need Cucumber scenarios to be in German.

Is there any easy way to use instead of: Background, Scenario, Given, When, Then, And... their German translation?


Solution

  • Just add # language: de to first line.

    https://github.com/cucumber/cucumber/wiki/Spoken-languages