NAME

Mojolicious::Command::generate::lexicont - Mojolicious Lexicon Translation Generator

SYNOPSIS

# Translate from English to Frenchh
./script/my_app generate lexicont en fr

# Translate from English to German, Frenchh and Russian
./script/my_app generate lexicont en de fr ru

DESCRIPTION

Mojolicious::Command::generate::lexicont is lexicon translation generator.

Mojolicious::Plugin::I18N is standard I18N module for Mojolicious. For example English, you must make lexicon file in the package my_app::I18N::en. This module is lexicon file generator from one language to specified languages using Lingua::Translate. So you can customize translation service.

CONFIGURATION

Create config file lexicont.conf on your project home directory.

#InterTran

{ lingua_translate => { back_end => "InterTran", }, sleep => 5, }

#Bing

{ lingua_translate => { back_end => "BingWrapper", client_id => "YOUR_CLIENT_ID", client_secret => "YOUR_CLIENT_SECRET" } }

#Google

{ lingua_translate => { back_end => "Google", api_key => "YOUR_API_KEY", } }

LICENSE

Copyright (C) dokechin.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

dokechin <>