[Owncloud] Use a UK English lang pack

Krieger Thomas kriegeth at tom-krieger.de
Wed Aug 14 10:24:33 UTC 2013


Hi, 
On 14.08.2013, at 11:59, david at x2592.com wrote:

> Hi Thomas, guys,
> 
> On 2013-08-14 08:51, Thomas Müller wrote:
>> There is a perl script l10n/l10n.pl which you have to execute.
>> It will transform pofiles into the php format we are using during runtime.
> 
> OK, I cd'd into /l10n and executed 'perl l10n.pl' but it returns an error message:
> 
> root:/var/www/owncloud/l10n# perl l10n.pl
> Can't locate Locale/PO.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at l10n.pl line 3.
> BEGIN failed--compilation aborted at l10n.pl line 3.
> 
> 
> Am I supposed to pass it some parameters, or to execute it from a specific location?


I think you should install the Locale::PO perl module. You can find it on CPAN here:
http://search.cpan.org/~cosimo/Locale-PO-0.23/lib/Locale/PO.pm

Maybe there are other dependent perl modules you need to install.

Depending on the OS you use it may be possible that you can install a distro package containing the Locale::PO module.

Cheers 

Thomas



More information about the Owncloud mailing list