-
Notifications
You must be signed in to change notification settings - Fork 34
Description
JBehave allows the use of custom localized keywords http://jbehave.org/reference/stable/stories-in-your-language.html specified as a Properties-file. It makes sense writing the stories in user's language and terms. That is why we use Finnish in our JBehave stories.
Now, as far as I've understood from the source code, it seems that the plugin would read the locale only from
!-- language: locale
comment in .story-file and use this to load the default localizations from JBehave's bundle.
However, there exists no localizations for Finnish in that bundle and thus a custom .properties file would be needed. Even if there was a localized keywords bundle, the keywords might still be different as JBehave allows the use of those custom properties file. Additionally, it makes no sense having to define keywords in every story while they are most likely all in the same language.
There should be an option in the JBehave-plugin page to select a .properties file to use as keywords instead of the default English one.