cucumber/gherkin — pull request #229 by eiel (2013-02-01 06:37:35+00:00)
Title: Set default i18n when create Parser

I want to do on cucumber
I use `language: ja`

```
前提 /^foo$/ do
steps %{
前提 bar
}
end
```

But, I failure.

This is equement in English, above:
```
When /^foo$/ do
steps %{
When bar
}
```

I try this code, so:
```
前提 /^foo$/ do
steps %{
# language: ja
前提 bar
}
end
```

this code raise an exception.
`Parse error at :47. Found comment when expecting one of: step. (Current state: steps). (Gherkin::Parser::ParseError)`

When it investigates, although it hasn i18n information, it is not used to the timing which performs steps.

https://github.com/cucumber/cucumber/blob/v1.2.1/lib/cucumber/runtime/support_code.rb#L50-L54

since -- I would like to use it
https://github.com/eiel/cucumber/compare/future-patch