Language configuration in cucumber

I have just installed cucumber in a rails application following the
instructions in the wiki

How I have to specify the configuration option for using cucumber in
spanish language?

Is there a file cucumber.opts in some folder?
or have I to modify some rakefile?

Thanks.

Juanma C.

On Fri, Sep 26, 2008 at 1:19 PM, Juanma C. [email protected]
wrote:

I have just installed cucumber in a rails application following the
instructions in the wiki
GitHub: Let’s build from here · GitHub

How I have to specify the configuration option for using cucumber in
spanish language?

ruby script/cucumber --help

There you should see that you can use --language es.
You can put this in your tasks/cucumber.rake file

Aslak

Thanks Aslak.

when I executed “ruby script/generate cucumber”, after installing the
plugins, these are the folders and files that were created:

features/steps
features/steps/env.rb
features/steps/common_webrat.rb
lib/tasks
lib/tasks/cucumber.rake
script/cucumber.rake

I think “script/cucumber.rake” must be wrong,
and it must be renamed to “script/cucumber”, right?

And all works.

aslak hellesoy wrote:

On Fri, Sep 26, 2008 at 1:19 PM, Juanma C. [email protected]
wrote:

ruby script/cucumber --help

There you should see that you can use --language es.
You can put this in your tasks/cucumber.rake file

Aslak

On Fri, Sep 26, 2008 at 8:47 AM, Juanma C. [email protected]
wrote:

script/cucumber.rake

I think “script/cucumber.rake” must be wrong,
and it must be renamed to “script/cucumber”, right?

And it should probably be installed the same was as script/spec so it
is executable.

On Fri, Sep 26, 2008 at 3:54 PM, David C. [email protected]
wrote:

lib/tasks/cucumber.rake
script/cucumber.rake

I think “script/cucumber.rake” must be wrong,
and it must be renamed to “script/cucumber”, right?

And it should probably be installed the same was as script/spec so it
is executable.

Yep folks - you’re both right.

Fixed now:
http://github.com/aslakhellesoy/cucumber/commit/bf6d795e6b716f4e56fe97eb221d3e0d88678800

I almost forgot - we have Russian now. I want me some Urdu and Arabic!
Keep those languages coming!
http://github.com/aslakhellesoy/cucumber/commit/066b1c9f133322e2a8cf2e3ef9cbd98ac4f3cb75

Aslak