Page 1 of 1

Turkish help needed

Posted: Fri Mar 03, 2006 12:05 am
by carl_galloway
Hi everyone,

I've been asked by another user to help translate Serendipity to Turkish. This particular user is developing a site for a charitable institution and really needs our help.

First, has anyone translated the language files into Turkish? If so, could you email them to me?

Second, if I need to create a new language file, how would I make sure Serendipity can use the file. Do I just upload to the lang folder, or does the code need to know that Turkish is an option?

Third, I understand that Turkish script can be either utf-8 or windows format, which is peferable?

Guys, if anyone can help, I would be very appreciative.

Carl

Re: Turkish help needed

Posted: Fri Mar 03, 2006 11:07 am
by garvinhicking
Since I now nothing about turkish, some suggestions:

1. Try to use UTF-8 as the core language! This makes less problems than using native charsets.

2. To make a language available to serendipity one needs to edit serendipity_config.inc.php and adjust the $serendipity['languages'] array.

Regards,
Garvin

Posted: Fri Mar 03, 2006 6:56 pm
by carl_galloway
Thanks Garvin, and note to self, don't use windows notepad or wordpad to edit utf-8 files - screws up the foreign letters, oh well I'll just have to go and install yet another program on windows, will this ever end?

Posted: Sat Mar 04, 2006 8:20 pm
by carl_galloway
Garvin, anyone else familiar with feeds and translating, we need help.

I've included Ahmet's language files (lang folder and lang/utf-8 folder), changed the Serendipity_config.inc.php and changed the multilingual plugin so that turkish translations can be tested on my themes site.

We have a major problem with feeds, we get an error message on line one, no idea how to fix this., and the above files are the only files that have been touched.

Also, when I go into admin suite I get an error

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /path/to/themes.carlgalloway.com/lang/UTF-8/serendipity_lang_tr.inc.php:1) in /path/to/themes.carlgalloway.com/include/functions_config.inc.php on line 418

Warning: Cannot modify header information - headers already sent by (output started at /path/to/themes.carlgalloway.com/lang/UTF-8/serendipity_lang_tr.inc.php:1) in /path/to/themes.carlgalloway.com/serendipity_admin.php on line 11
Is there another file we need to change to accept turkish language. Garvin I will happily give you ftp access if required.

Cheers

Carl

Posted: Sun Mar 05, 2006 3:56 am
by carl_galloway
Well, after many hours of testing the turkish translations and working through the problems, I am happy to say that Ahmet has solved most, if not all, and Serendipity will very soon have an additional language - Turkish. Ahmet is tidying up a few loose ends and plans to send the translated language files to the Serendipity developers over the next few days.