Provided by: libtest-bdd-cucumber-perl_0.45-1_all bug

NAME

       Test::BDD::Cucumber::I18N - Internationalization

VERSION

       version 0.45

DESCRIPTION

       Internationalization of feature files and step definitions.

SYNOPSIS

         use Test::BDD::Cucumber::I18n
             qw(languages has_language langdef);

         # get codes of supported languages
         my @supported_languages = languages();

         # look up if a language is supported
         my $language_is_supported = has_language('de');

         # get definition of a language
         my $langdef = langdef('de');

         # get readable keyword definitions
         my $string = readable_keywords

METHODS

   languages
       Get codes of supported languages.

   has_language($language)
       Check if a language is supported.  Takes as argument the language abbreviation defined in
       "share/i18n.json".

   langdef($language)
       Get definition of a language.  Takes as argument the language abbreviation defined in
       "share/i18n.json".

   readable_keywords($string, $transform)
       Get readable keyword definitions.

   keyword_to_subname
       Return a keyword into a subname with non-word characters removed.

LANGUAGES

       Languages are defined in a JSON-based hash in the __DATA__ section of
       Test::BDD::Cucumber::I18N::Data, and have been lifted from the Gherkin distribution.

AUTHOR

       Gregor Goldbach "glauschwuffel@nomaden.org" (based on the works of Pablo Duboue)

LICENSE

       Copyright 2014, Gregor Goldbach; Licensed under the same terms as Perl