Page 1 of 1

Files to translate?

Posted: Fri Aug 18, 2006 11:56 am
by Yoggi
I want to translate Serendipity 1.0.1 to Afrikaans, but am not sure which files to translate.
According to the docs, I have to translate:
lang/serendipity_lang_en.inc.php
lang/serendipity_config_local_en.tpl
lang/serendipity_config_user_en.tpl

I can only find lang/serendipity_lang_en.inc.php and
lang/UTF-8/serendipity_lang_en.inc.php

The:
lang/serendipity_config_local_en.tpl
lang/serendipity_config_user_en.tpl

I cannot find in 1.0.1

I have translated the files serendipity_lang_en.inc.php in the lang and UTF-8 folders, but it doesn't show Afrikaans where the language can be selected in the Configuration screen at the admin suite.

Any help?

Re: Files to translate?

Posted: Fri Aug 18, 2006 12:05 pm
by garvinhicking
Hi!

I'm sorry, you are right that the documentation is not up to date. I just updated it to reflect the new s9y version files:

http://www.s9y.org/46.html

So you have already created the right file. What you are missing just seems to be the entry in serendipity_config.inc.php in the $serendipity['languages'] array!

HTH,
Garvin

Headers already sent

Posted: Fri Aug 18, 2006 2:09 pm
by Yoggi
I have changed everything now, but when I have chosen the language to be Afrikaans, the following error shows at the top of the admin pages:

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/blinkofstink.co.za/lang/UTF-8/serendipity_lang_af.inc.php:1) in /hsphere/local/home/blinkofstink.co.za/serendipity_admin.php on line 11

Re: Headers already sent

Posted: Fri Aug 18, 2006 2:13 pm
by garvinhicking
Hi!

This means that in your serendipity_lang_af.inc.php you have a blank line/newline on the first line, or that your files does not start with <?php.

Best regards,
Garvin

Posted: Fri Aug 18, 2006 3:03 pm
by Yoggi
Got it right now.
When I use Notepad++ it doesn't show a newline, but there seems to be one. Something like that.
When I use PHPDesigner, it works.

afrikaans

Posted: Mon Apr 16, 2007 8:54 am
by phalab
Hi Yoggi,

I also would like to have my blog in Afrikaans. (it's actually for my wife, who is Afrikaans). Can I ask if you still have that file? It would save me some time translating :)

regards,

Re: Files to translate?

Posted: Thu Jan 16, 2014 2:37 pm
by RaVlaNa
Yes, please,
If there is an Afrikaans language pack lurking about somewhere, could someone please share it?
Or even better, could it not be put in the setup list of Serendipity?

I am desperately looking for an Afrikaans translation of Serendipity, but my written Afrikaans is not good enough to do the translation.

Is there someone who could help, please?

Thank you in advance.