
SweetPea::Application::Locale - Localization handling for SweetPea-Application.


The new method instantiates a new SweetPea::Application::Locale object
which use Config::Any w/ YAML::Syck as a base class to provide access
to the yml locales.
$s->plug( 'config', sub { return SweetPea::Application::Locale->new($s); });
The language method selects the specific localization data(yml) file to be
used to provide translations to the application.
$s->locale->language('/en');
The text method retrieves the translation text from the locale file selected
with the "language" method. Defaults to "en" (english) translation.

Al Newkirk, <al.newkirk at awnstudio.com>