Test::BDD::Cucumber::I18n3pm
Internationalization
Usage
use Test::BDD::Cucumber::I18nqw(languages has_language langdef);# get codes of supported languagesmy @supported_languages = languages();# look up if a language is supportedmy $language_is_supported = has_language('de');# get definition of a languagemy $langdef = langdef('de');# get readable keyword definitionsmy $string = readable_keywords
Version
version 0.87
Overview
Internationalization of feature files and step definitions.
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 Test::BDD::Cucumber::I18N::Data, and have been lifted from the Gherkin distribution.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.