Hello,

  I have such a configuration. And the localization example does not use Spring.
  Thanks

Best regards,

Fernando Mato Mira

On Fri, Dec 3, 2010 at 2:09 PM, Cristiano Gavião <[email protected]> wrote:
> Hi,
>
> Should not be difference from using Localization with Spring or Guice or
> without DI.
>
> Basically we need to fullfill some Configuration needs, Locale and Keywords:
>
> Keywords keywords = new LocalizedKeywords(locale());
>
> Configuration configuration = new MostUsefulConfiguration()
>                 .useKeywords(keywords)
>                 .useStoryParser(new RegexStoryParser(keywords))
>                 .useStoryLoader(
>                         new LoadFromClasspath(classLoader))
>                 .useDefaultStoryReporter(new ConsoleOutput(keywords))
>
> So, just think that wherever you need some translated thing you need ensure
> that proper keyword is there.
>
> There is a trader example (em português), take a look on it. ;-)
>
> cheers
>
> Cristiano
>
> On 03/12/10 08:47, Fernando Mato Mira wrote:
>
> Hello,
>
>   How do you get localization to work when using JBehave with Spring?
>   The regular documented way is ignored.
>
> Thanks
>
> Fernando Mato Mira
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to