-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Pickles to deal with cultures in the language setting #308
Comments
Thank you for taking the time to report this problem. As a possible workaround until I can deploy a proper fix: try setting the language parameter to "de". |
Hi Dirk Here are additional details for reproducing the problem: Command Line setttings: First lines of Feature files: I need the de-CH switch, because Switzerland has a different number format and demiliter as de. |
Good news and bad news for you ... The bad news: I'm afraid "de-CH" isn't supported, only "de". Pickles supports exactly the same languages as Gherkin, the parser used by Cucumber, SpecFlow and also by Pickles. Here's the list of supported languages: https://github.com/cucumber/gherkin/blob/master/gherkin-languages.json The good news: all is not lost for you. The #language parameter defines only the language of the keywords (like Funktionalität instead of Feature), nothing more. If you want to handle numbers in a different format or with different delimiters, you can do that in the automation layer. But maybe I'm missing something - could you describe your situation in a bit more detail? Could you perhaps give one of the lines with swiss-formatted numbers? If you don't feel comfortable discussing this in a public forum, you can email me at dirk dot rombauts at picklespro dot com. |
I have an update for you - I have learned of a way to deal with this problem. I will be able to make Pickles support "de-CH" in the future. Now I only need to find time to do it. If you want to have a go at it yourself, I can give you the information you will need. |
Released in version 2.10.0. |
My feature files starts with the #language: de - parameter. The command line (Version 2.5) is unable to create the documentation with this valid parameter and prompt *.feature will be ignored because it could not be read in properly.
The text was updated successfully, but these errors were encountered: