Details

    • Type: Wish Wish
    • Status: Open Open
    • Priority: Minor 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 :
      0

      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

        dohyoung rim made changes -
        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.


        Hide
        dohyoung rim added a comment - - edited

        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?

        Show
        dohyoung rim added a comment - - edited 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?
        Hide
        Mauro Talevi added a comment -

        What's the point of adding the Korean bundle with English words?

        If you were to volunteer the bundle with the appropriate Korean translation, we'd be happy to add it.

        If you do, please remember to use Unicode chars with UTF-8 encoding.

        Show
        Mauro Talevi added a comment - What's the point of adding the Korean bundle with English words? If you were to volunteer the bundle with the appropriate Korean translation, we'd be happy to add it. If you do, please remember to use Unicode chars with UTF-8 encoding.
        Mauro Talevi made changes -
        Affects Version/s web-3.5.5 [ 18692 ]
        Affects Version/s 3.9.4 [ 20449 ]
        Mauro Talevi made changes -
        Summary running profile 'examples' failed due to lack of bundle file when locale ko_KR Add support for Korean locale
        Hide
        dohyoung rim added a comment -

        Korean language is much different with English specially in word ordering. Translated word for word 'given', 'when' and 'then' is located at last of sentence. So just translating without changing DSL is very awkward.

        Following is translated result of story of gameoflife.

        Given a 5 by 5 game
        5 by 5 game? ????

        When I toggle the cell at (2, 4)
        I toggle the cell at (2, 4) ?? ?

        Then the grid should look like
        the grid should look like? ??

        That's why I just copy the English bundle to Korean bundle. Story is written as natural language but is parsed by machine and it's actually some of programming language in my opinion. It will be very queer to translate programming language to Korean.

        I just want to see example running success even if it's not translated to Korean. I am not representative for all Korean developer but I think successfully running first example with not translated is better than failed running.

        Show
        dohyoung rim added a comment - Korean language is much different with English specially in word ordering. Translated word for word 'given', 'when' and 'then' is located at last of sentence. So just translating without changing DSL is very awkward. Following is translated result of story of gameoflife. Given a 5 by 5 game 5 by 5 game? ???? When I toggle the cell at (2, 4) I toggle the cell at (2, 4) ?? ? Then the grid should look like the grid should look like? ?? That's why I just copy the English bundle to Korean bundle. Story is written as natural language but is parsed by machine and it's actually some of programming language in my opinion. It will be very queer to translate programming language to Korean. I just want to see example running success even if it's not translated to Korean. I am not representative for all Korean developer but I think successfully running first example with not translated is better than failed running.
        Hide
        Mauro Talevi added a comment -

        I understand that an oriental language flow may different from a Latin-based one, but I struggle to understand what's the use of having a Korean locale with keywords in English. Then it's just as well to use the default locale.

        I think it would be beneficial to have the keywords translated in Korean, which can be used regardless of the position in the sentence.

        Then we can try to address the positioning issue separately.

        Show
        Mauro Talevi added a comment - I understand that an oriental language flow may different from a Latin-based one, but I struggle to understand what's the use of having a Korean locale with keywords in English. Then it's just as well to use the default locale. I think it would be beneficial to have the keywords translated in Korean, which can be used regardless of the position in the sentence. Then we can try to address the positioning issue separately.

          People

          • Assignee:
            Unassigned
            Reporter:
            dohyoung rim
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: