NAME
Mojolicious::Command::generate::lexicon - Generate Lexicon Command
SYNOPSIS
Usage: APPLICATION generate lexicon [LANGUAGE [OPTIONS [TEMPLATES]]]
./script/my_app generate lexicon
./script/my_app generate lexicon es -b save
Options: -b, --behavior=BEHAVIOR Determines how to treat existing lexemes: save save old lexicon values reset delete old lexicon
SYNOPSIS API
use Mojolicious::Command::generate::lexicon;
my $l = Mojolicious::Command::generate::lexicon->new;
$l->run($language, @files);
DESCRIPTION
Mojolicious::Command::generate::lexicon generates lexicon files from existing templates. During template parsing it searches for calls of l
, e.g. <%==l "Hello, world" %>
. All lexicons are written to lib/MyApp/I18N/<LANGUAGE>.pm
files.
SEE ALSO
DEVELOPMENT
Repository
http://github.com/und3f/mojolicious-lexicon
AUTHOR
Serhii Zasenko, undef@cpan.org
.
CREDITS
In alphabetical order
Silvio
Tetsuya Tatsumi
COPYRIGHT
Copyright (C) 2011-2021, Serhii Zasenko
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.