Thank you. Did you notice that sk_SK is new locale added by me to private installed system? I had convert .po file to .mo file. What else should I do to get this new locale work? Kind regards, Filip
Dňa 17.2.2015 o 22:03, Fabrice DURAND <[email protected]> napísal: > Hello Filip, > > let´s try that: > > for TRANSLATION in de en es fr he_IL it nl pl_PL pt_BR sk_SK; do > /usr/bin/msgfmt conf/locale/$TRANSLATION/LC_MESSAGES/packetfence.po \ > --output-file conf/locale/$TRANSLATION/LC_MESSAGES/packetfence.mo > done > > > Regards > Fabrice > > Le 2015-02-17 15:46, Filip Pohronský a écrit : >> Finally I did 100 % translation to sk_SK locale for packetfence.po. >> I used transifex.com <http://transifex.com>. >> Can somebody help to get it work in packetfence? >> Just import it and >> make /usr/local/pf/conf/locale/sk_SK/LC_MESSAGES/packetfence.mo file? >> I went through mailing list archive and Documentation. >> There is a few about. >> >> I like to have Captive Portal in this locales: >> en, de, it, sk. >> >> >> >> Dňa 17.2.2015 o 8:54, Filip Pohronský <[email protected] >> <mailto:[email protected]>> napísal: >> >>> Dear Packetfence-users, >>> >>> I had try to add totally new locale to folder: >>> /usr/local/pf/conf/locale/sk_SK/ >>> I followed the Developer's Guide. >>> I copied En locale .po file to new folder >>> /usr/local/pf/conf/locale/sk_SK/LC_MESSAGES/packetfence.po >>> Edited some msgstr, mainly about captive portal strings. >>> >>> Added to file: >>> msgid "sk_SK" >>> msgstr "Slovensky" >>> >>> I created /usr/local/pf/conf/locale/sk_SK/LC_MESSAGES/packetfence.mo >>> >>> *What next I should do?* >>> I read to add general.localeto pf.conf, but I do not like to do >>> something wrong way. >>> There is nothing like general.localeparameter in pf.conf in pf 4.6.0. >>> So if I add: >>> >>> # general.locale >>> # >>> # Locale used for message translation >>> # more than 1 can be specified >>> locale=sk_SK >>> *Nothing will change but captive portal?* >>> Kind Regards,Filip >> >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk >> >> >> _______________________________________________ >> PacketFence-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/packetfence-users > > > -- > Fabrice Durand > [email protected] :: +1.514.447.4918 (x135) :: www.inverse.ca > Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence > (http://packetfence.org) > > <0xF78F957E.asc>------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk_______________________________________________ > PacketFence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
