Hi Fabrice
It works
Thanks
George
-----Original Message-----
From: Fabrice Durand [mailto:***@inverse.ca]
Sent: Wednesday, May 31, 2017 9:14 PM
To: packetfence-***@lists.sourceforge.net
Subject: Re: [PacketFence-users] Language strings in .pm files
Hello George,
sorry for the delay.
In fact it suppose to be localized but our script to extract string missed all the lines that contain showError.
I did a fix in github for the newer version but you can patch your setup to make it work.
So do what i have modified in Email.pm
(https://github.com/inverse-inc/packetfence/commit/07cab346e13a5c9ee8e7cf56bba591aeaccb1baa)
then edit conf/locale/fr/LC_MESSAGES/packetfence.po
and add that:
# html/captive-
# portal/lib/captiveportal/PacketFence/Controller/Activate/Email.pm
msgid ""
"The activation code provided is invalid. Reasons could be: it never existed,"
" it was already used or has expired."
msgstr "Le code d'activation entré est invalide. Les raisons pourraient
être: il n'a jamais existé, il a déja êté utilisé ou expiré. "
Then do:
for TRANSLATION in de en es fr he_IL it nl pl_PL pt_BR; do
/usr/bin/msgfmt conf/locale/$TRANSLATION/LC_MESSAGES/packetfence.po \
--output-file conf/locale/$TRANSLATION/LC_MESSAGES/packetfence.mo
done
Or wait for the 7.1 version.
Regards
Fabrice
Post by Kandalaft GeorgeHi Fabrice
We are running version 6.2.1 and here is a string from
$self->showError($c,
"The activation code provided is invalid."
. " Reasons could be: it never existed, it was already used or has expired."
);
Thanks
George
-----Original Message-----
Date: Mon, 29 May 2017 11:22:39 -0400
Subject: Re: [PacketFence-users] Language strings in .pm files
Content-Type: text/plain; charset="windows-1252"
Hello George,
which version are you running and do you have any example ?
Regards
Fabrice
----------------------------------------------------------------------
-------- Check out the vibrant tech community on one of the world's
most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
***@inverse.ca :: +1.514.447.4918 (x135) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
PacketFence-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users