[jifty-devel] plugin localization
jesse at bestpractical.com
Fri Nov 3 02:58:01 EST 2006
On Fri, Nov 03, 2006 at 08:51:56AM +0100, Agostini yves wrote:
> Le jeudi 02 novembre 2006 à 19:47 -0500, Jesse Vincent a écrit :
> > On Thu, Nov 02, 2006 at 10:35:18PM +0100, agostini at univ-metz.fr wrote:
> > >
> > >
> > > Well, if everybody seems ok to let po plugin files in Jifty/Plugin/_name_/po
> > I _think_ we want the podir to defailt to the sharedir/po for the plugin.
> > (Does that make sense?)
> Not really :D
> But I was the first to be unclear
> I wanted to say that for sources : we have usual
> and for install it will be
> So, I18N will load from Jifty::Util->share_root.'/Plugin/Login/po'
> Is this ok ?
For most jifty plugins, you should be able to distribute and install
them separetely from Jifty, so for
I'd expect to find po files in:
$dir = module_dir('Jifty::Plugin::Login')."/po/";
This lets plugins act more like regular CPAN module, which I think could
be a very nice thing.
More information about the jifty-devel