Details
-
Type: Wish
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.9.4
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Environment:linux, JDK1.7
-
Number of attachments :
Description
While following http://jbehave.org/reference/stable/running-examples.html page, next command failed with following message.
mvn -s settings.xml clean install -Pexamples
Tests run: 11, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.018 sec <<< FAILURE! - in org.jbehave.core.reporters.StoryReporterBuilderBehaviour
shouldBuildWithReporterOfDifferentFormatsForMultiThreaded(org.jbehave.core.reporters.StoryReporterBuilderBehaviour) Time elapsed: 0.001 sec <<< ERROR!
org.jbehave.core.i18n.LocalizedKeywords$ResourceBundleNotFound: Resource bundle i18n/keywords not found for locale ko_KR in classLoader sun.misc.Launcher$AppClassLoad
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)
at org.jbehave.core.i18n.LocalizedKeywords.lookupBunde(LocalizedKeywords.java:58)
at org.jbehave.core.i18n.LocalizedKeywords.keywords(LocalizedKeywords.java:43)
at org.jbehave.core.i18n.LocalizedKeywords.<init>(LocalizedKeywords.java:33)
at org.jbehave.core.i18n.LocalizedKeywords.<init>(LocalizedKeywords.java:29)
at org.jbehave.core.reporters.StoryReporterBuilderBehaviour.shouldBuildWithReporterOfDifferentFormats(StoryReporterBuilderBehaviour.java:197)
at org.jbehave.core.reporters.StoryReporterBuilderBehaviour.shouldBuildWithReporterOfDifferentFormatsForMultiThreaded(StoryReporterBuilderBehaviour.java:187)
It is due to of not existing bundle file for Korean. Locale on my environment is ko_KR.
It could be simply overcome by copying keywords_en.properties into keywords_ko.properties, which located at jbehave-core/src/main/resources/i18n
Korean syntax and ordering is different with alphabet language as like English, so direct translating from English word into Korean word is a little awkward and not proper.
I just want to make it success even if not translated. It will be good to Korean developer not failing when first experience of JBehave.
Activity
Field | Original Value | New Value |
---|---|---|
Description |
While following http://jbehave.org/reference/stable/running-examples.html page, next command failed with following message.
mvn -s settings.xml clean install -Pexamples Tests run: 11, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.018 sec <<< FAILURE! - in org.jbehave.core.reporters.StoryReporterBuilderBehaviour shouldBuildWithReporterOfDifferentFormatsForMultiThreaded(org.jbehave.core.reporters.StoryReporterBuilderBehaviour) Time elapsed: 0.001 sec <<< ERROR! org.jbehave.core.i18n.LocalizedKeywords$ResourceBundleNotFound: Resource bundle i18n/keywords not found for locale ko_KR in classLoader sun.misc.Launcher$AppClassLoad at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322) at java.util.ResourceBundle.getBundle(ResourceBundle.java:1028) at org.jbehave.core.i18n.LocalizedKeywords.lookupBunde(LocalizedKeywords.java:58) at org.jbehave.core.i18n.LocalizedKeywords.keywords(LocalizedKeywords.java:43) at org.jbehave.core.i18n.LocalizedKeywords.<init>(LocalizedKeywords.java:33) at org.jbehave.core.i18n.LocalizedKeywords.<init>(LocalizedKeywords.java:29) at org.jbehave.core.reporters.StoryReporterBuilderBehaviour.shouldBuildWithReporterOfDifferentFormats(StoryReporterBuilderBehaviour.java:197) at org.jbehave.core.reporters.StoryReporterBuilderBehaviour.shouldBuildWithReporterOfDifferentFormatsForMultiThreaded(StoryReporterBuilderBehaviour.java:187) It is due to of not existing bundle file for Korean. Locale on my environment is ko_KR. It could be simply overcome by copying keywords_en.properties into keywords_ko.properties, which located at jbehave-core/src/main/resources/i18n Korean syntax and ordering is different with alphabet language as like English, so direct translating from English word into Korean word is a little awkward and not proper. I just want to make it success even if not translated. I will be good to Korean developer when first experience as not failed. |
While following http://jbehave.org/reference/stable/running-examples.html page, next command failed with following message.
mvn -s settings.xml clean install -Pexamples Tests run: 11, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.018 sec <<< FAILURE! - in org.jbehave.core.reporters.StoryReporterBuilderBehaviour shouldBuildWithReporterOfDifferentFormatsForMultiThreaded(org.jbehave.core.reporters.StoryReporterBuilderBehaviour) Time elapsed: 0.001 sec <<< ERROR! org.jbehave.core.i18n.LocalizedKeywords$ResourceBundleNotFound: Resource bundle i18n/keywords not found for locale ko_KR in classLoader sun.misc.Launcher$AppClassLoad at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322) at java.util.ResourceBundle.getBundle(ResourceBundle.java:1028) at org.jbehave.core.i18n.LocalizedKeywords.lookupBunde(LocalizedKeywords.java:58) at org.jbehave.core.i18n.LocalizedKeywords.keywords(LocalizedKeywords.java:43) at org.jbehave.core.i18n.LocalizedKeywords.<init>(LocalizedKeywords.java:33) at org.jbehave.core.i18n.LocalizedKeywords.<init>(LocalizedKeywords.java:29) at org.jbehave.core.reporters.StoryReporterBuilderBehaviour.shouldBuildWithReporterOfDifferentFormats(StoryReporterBuilderBehaviour.java:197) at org.jbehave.core.reporters.StoryReporterBuilderBehaviour.shouldBuildWithReporterOfDifferentFormatsForMultiThreaded(StoryReporterBuilderBehaviour.java:187) It is due to of not existing bundle file for Korean. Locale on my environment is ko_KR. It could be simply overcome by copying keywords_en.properties into keywords_ko.properties, which located at jbehave-core/src/main/resources/i18n Korean syntax and ordering is different with alphabet language as like English, so direct translating from English word into Korean word is a little awkward and not proper. I just want to make it success even if not translated. It will be good to Korean developer not failing when first experience of JBehave. |
Affects Version/s | web-3.5.5 [ 18692 ] | |
Affects Version/s | 3.9.4 [ 20449 ] |
Summary | running profile 'examples' failed due to lack of bundle file when locale ko_KR | Add support for Korean locale |
I forked jbehave-core and added bundle file for Korean with commit https://github.com/dhrim/jbehave-core/commit/a700bd95a57a3372982ac3787bdbefe6d79b29d5
Is pull-request required? or enough with this comment?