Discussion:
[PacketFence-devel] Add other locale
Filip Pohronsky
2015-02-23 13:20:55 UTC
Permalink
Dear packetfence developers,

I add new locale directory to /usr/local/pf/conf/locale/sk_SK/.
I do 100 % Slovak translations and add it to file /usr/local/pf/conf/locale/sk_SK/LC_MESSAGES/packetfence.po this lines:

msgid "sk_SK"
msgstr "Slovensky"

I created file /usr/local/pf/conf/locale/sk_SK/LC_MESSAGES/packetfence.mo
Reloaded the pf.server.

What else should I do to see the sk_SK translation inside the captive portal of pf.server?
Is it done automatically, or do I need to make some .conf integration?

Kind regards,
Filip
Fabrice DURAND
2015-02-23 14:01:28 UTC
Permalink
Hello Filip,

you probably have to add the locale in lib/pf/web/constants.pm too.

Regards
Fabrice
Post by Filip Pohronsky
Dear packetfence developers,
I add new locale directory to /usr/local/pf/conf/locale/sk_SK/.
I do 100 % Slovak translations and add it to
file /usr/local/pf/conf/locale/sk_SK/LC_MESSAGES/packetfence.po this
msgid "sk_SK"
msgstr "Slovensky"
I created file /usr/local/pf/conf/locale/sk_SK/LC_MESSAGES/packetfence.mo
Reloaded the pf.server.
What else should I do to see the sk_SK translation inside the captive portal of pf.server?
Is it done automatically, or do I need to make some .conf integration?
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-devel mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
--
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)
Filip Pohronský
2015-02-26 19:00:25 UTC
Permalink
Hello Fabrice,
finally sk_SK locale working but with some problems I commented on pictures.
How should I repair bad font use or system not using translation?
Filip
Durand fabrice
2015-02-26 23:12:35 UTC
Permalink
Hello Filip,

i have made modification about locale (same issue in French), can you
run perl pf-maint.pl and retry ?

Regards
Fabrice
Post by Filip Pohronský
Hello Fabrice,
finally sk_SK locale working but with some problems I commented on pictures.
How should I repair bad font use or system not using translation?
Filip
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-devel mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Filip Pohronský
2015-03-25 06:53:24 UTC
Permalink
I added the locale in lib/pf/web/constants.pm and run perl pf-maint.pl.
I see sk_SK in the list a I will do some tests.
I will report lately.

Thank you Fabrice
Predmet: Re: [PacketFence-devel] Add other locale
Dátum: 27. februára 2015 0:12:35 GMT+1
Hello Filip,
i have made modification about locale (same issue in French), can you run perl pf-maint.pl and retry ?
Regards
Fabrice
Post by Filip Pohronský
Hello Fabrice,
finally sk_SK locale working but with some problems I commented on pictures.
How should I repair bad font use or system not using translation?
Filip
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-devel mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/_______________________________________________
PacketFence-devel mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Loading...