PacketFence - BTS - PacketFence
View Issue Details
0001115PacketFenceconfigurationpublic2010-11-11 16:322011-10-24 20:24
fgaudreault 
obilodeau 
normaltweakhave not tried
closedfixed 
1.9.1 
3.0.03.0.0 
e0629c5db1d209173328fb8461ef2a27112a0f60
0001115: Spanish translation and encoding
The Spanish traduction of packetfence seems to be encoded using UTF-8. This cause an issue with perl, since the language is not UTF-8 aware by default.

Quick Fix : Convert the spanish packetfence.po from utf-8 to iso-8859-1 using iconv

iconv -f UTF-8 -t ISO-8859-1 packetfence.po > packetfence.po.iso
No tags attached.
related to 0001114closed obilodeau Improved translated strings integration in captive portal templates 
Issue History
2010-11-11 16:32fgaudreaultNew Issue
2010-11-19 14:24obilodeauTarget Version1.9.2 => 2.0.0
2011-01-18 09:47obilodeauTarget Version2.0.0 => 2.0.1
2011-01-26 15:30obilodeauTarget Version2.0.1 => 2.0.2
2011-03-03 15:19obilodeauTarget Version2.0.2 => +1
2011-03-18 11:23fgaudreaultNote Added: 0001951
2011-03-18 11:29obilodeauRelationship addedrelated to 0001114
2011-03-21 09:33obilodeauSummarySpanish traduction and encoding => Spanish translation and encoding
2011-08-25 12:03obilodeaumtn revision => e0629c5db1d209173328fb8461ef2a27112a0f60
2011-08-25 12:03obilodeauNote Added: 0002158
2011-08-25 12:03obilodeauStatusnew => resolved
2011-08-25 12:03obilodeauFixed in Version => trunk
2011-08-25 12:03obilodeauResolutionopen => fixed
2011-08-25 12:03obilodeauAssigned To => obilodeau
2011-09-21 22:07obilodeauFixed in Versiontrunk => 3.0.0
2011-09-21 22:15obilodeauNote Added: 0002261
2011-09-21 22:16obilodeauStatusresolved => closed
2011-10-24 20:24obilodeauTarget Version+1 => 3.0.0

Notes
(0001951)
fgaudreault   
2011-03-18 11:23   
Another possible solution, is to wrap the gettext method into the decode_utf8() fonction in lib/pf/web.pm. However, this is not a REAL solution. We will need to find something more extensible.

Tested with the spanish locale.
(0002158)
obilodeau   
2011-08-25 12:03   
everything is UTF-8 now
(0002261)
obilodeau   
2011-09-21 22:15   
fix released in 3.0