Language Pack

7 views
Skip to first unread message

Patric

unread,
Nov 23, 2009, 8:14:09 AM11/23/09
to habari-users
Hi, My name i Patric Ahlqvist and I do websites for fun. On and off I
actually got paid for doing this, which is fine by me. I usually work
with the CMS sNews (not linking to it here as it could be considered
SPAM), but I wanted to broaden my horizons a tad. I found Habari
through another webdesigners site as he normally uses this CMS for
customers. Trying to get a hold of the structure of Habari, but i
guess I'm just too used to another CMS, so I have to ask a few things.
So, onwards to my questions (I'm running 0.6.3):

1. First out is the issue (to me) with site language. I'm swedish. I
have copied one of them distributed locale folders, and made
appropriate changes to it. I saved this in a folder named sv, and the
file habari-sv.po But nothing changes whatsoever. Of course I have
chosen sv in admin/OPTIONS aswell but it's ony displaying the copied
file (the german one, the otherone's i couldn't make out, hehe). I
might have done something wrong in the naming process, but as I gaze
through the german translationfile I find that things online isn't
translated although it is this in the habari-de.po.

My first problem - How do I make a translation or rather make it
"stick". Making it must be just changing the german for swedish.
Second - It seems habari don't translate all in that file...

Massimiliano

unread,
Nov 25, 2009, 4:07:05 AM11/25/09
to habari-users
On 23 Nov, 14:14, Patric <pittep...@gmail.com> wrote:
> Hi, My name i Patric Ahlqvist and I do websites for fun.

Hi there Patric, and welcome to Habari!

> 1. First out is the issue (to me) with site language. I'm swedish. I
> have copied one of them distributed locale folders, and made
> appropriate changes to it. I saved this in a folder named sv, and the
> file habari-sv.po But nothing changes whatsoever. Of course I have
> chosen sv in admin/OPTIONS aswell but it's ony displaying the copied
> file (the german one, the otherone's i couldn't make out, hehe). I
> might have done something wrong in the naming process, but as I gaze
> through the german translationfile I find that things online isn't
> translated although it is this in the habari-de.po.

These are the steps to make the Swedish translation run on your Habari
installation.

1. Translations are created and stored here:
https://translations.launchpad.net/habari/trunk/+pots/habari
Select Swedish and click Download translation (you need to
register to Launchpad, if you haven't yet).
2. Choose both formats, PO and MO: you will receive the download links
in your mailbox in a few minutes.
3. Rename the files as "habari-sv.po" and "habari.mo".
4. In your user/locale folder, create the directory "sv/LC_MESSAGES",
then put your files there.
5. Select the locale in admin/options, then click Apply.

Yes, the whole process is still quite a pain, but it will get easier
when we have our own repository. Please notice that the Swedish
localisation is only about half done, and that the files might not be
fully synchronised with the current version of Habari. If you want,
you can contribute in Launchpad. Tell us if you have any problems.
Massimiliano
Reply all
Reply to author
Forward
0 new messages