Hi All,

it has been fixed in devel and the strings have been transfered on transifex, so in the next release it will be fixed.

Regards

Fabrice



Le 2017-03-28 à 12:19, Jes Kasper Klittum a écrit :
Hi Jackson,

I have had this same issue. I found that it seems it only works if you define the field as "Custom_field_1" with a capital "C" in the translation files. I think it is a bug in the code for the portal, that capitalizes the field name and stops the string translation from working.

Br,
Jes

Sendt fra min iPhone

Den 22. mar. 2017 kl. 18.16 skrev Jackson Vilela <[email protected] <mailto:[email protected]>>:

Gentlemen,
I will use images to demonstrate what I need.

When setting the default_guest_policy policy I add the Mandatory fields "custom_field_1".

I want this field to be translated to CPF on the visitor's registration screen.

I performed the following procedure, but it did not work:

I have edited the following file /conf/locale/en_BR/LC_MESSAGES/packetfence.po:

Msgid "custom_field_1"
Msgid "CPF"

Then I executed in this directory /usr/local/pf
The command below

For TRANSLATION in de en es fr he_IL it nl pl_PL pt_BR; of
/ Usr / bin / msgfmt conf / locale / $ TRANSLATION / LC_MESSAGES / packetfence.po --output-file conf / locale / $ TRANSLATION / LC_MESSAGES / packetfence.mo;
Done


But it did not work, I use Centos7 and version 6.5.1 of Packetfence.

I also tried to change the file en/LC_MESSAGES/packetfence.po but it did not work either.

How do I get this?
It can be any other field, I just want to store visitor's CPF information.

--
Jackson Vilela
" Louvado seja o Senhor de toda Terra, Digno de Honra para todo o sempre Amém."
Visite: HTTP://www.novotempo.org.br <http://www.novotempo.org.br/>
Fone: (65) 8118-8414
<Registro.jpeg>
<Choice.jpeg>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org <http://Slashdot.org>! http://sdm.link/slashdot <http://sdm.link/slashdot>
_______________________________________________
PacketFence-users mailing list
[email protected] <mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to