-
Notifications
You must be signed in to change notification settings - Fork 7
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
Localized steps (Keyword) are not fully supported #3
Comments
Just so you know, I am working on this. However it is a little slow going and might take a while longer, because I have not made up my mind about the presentation of the language configuration and on how to keep it low impact on the existing codebase. |
that's great! thanks! here are some links of hard coded values
Hope this helps a bit Not part of the localized keyword, but mostly related on i18n see Issue 36 for the templates that use english keywords only In the meanwhile, i'll add the story locale in the preference page, if you've not done it yet. |
No, I have not changed the preferences in a meaningful way yet, just rammed in a simple text field to enter a string that I use with Locale.get... A little more style (and an implementation as a project level setting) would certainly be in order. |
I am working on the feature right now. As there have been no commits from you (none that I could see at least :)), I am also adding the language to the editor preferences as a popup. |
Introduces a new preference in the editor settings to pick the language which is used in story files. Currently there is a problem with switching the language: Before the IDE is restarted, steps will not be found and marked as errors. Same goes for auto-completion.
I won't have a chance to work on this for the next two weeks. You are welcome to take a look at what i have done so far. Currently there is a problem when the language is changed - editors don't recognize the steps anymore. Maybe you want to take a look at that. |
Sure, i'll have a look, does it correspond to |
Yes, exactly. |
I'm currently looking at it, refactoring many methods to make them rely on JBehaveProject instead of being static since the story locale can be project specific and not global. I'll commit the current state once at least it compiles. Furthermore, i've moved the locale selection into a dedicated preference page, so that it can easily be available for project properties too. |
Should be available for 1.0.7 |
In lot of place, localized keyword are not supported and "Given", "When", ... are hardcoded.
Check syntax hightlighting and keyword detectors in the xxxScanner classes
The text was updated successfully, but these errors were encountered: