Hi Don,

> Quick question: How do I rebuild the .mo files in the 
> ./conf/locale/en/LC_MESSAGES/ files? 

i wrote a litte Shell-Skript for it:

----

#!/bin/bash
export LOCALE_DIR=/usr/local/pf/conf/locale/de/LC_MESSAGES/

cd $LOCALE_DIR
msgfmt packetfence.po --output-file packetfence.mo
chown pf:pf packetfence.mo

locale-gen
pfcmd service httpd.portal restart
/etc/init.d/memcached restart

---

Just edit the LOCALE_DIR variable.

I don't know why but sometimes some translation strings don't get recognized. 
After i recreated the system locales and restarted the portal it worked again 
(just if you wonder about the "locale-gen" line).

Florian
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to