Turkish help needed

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Turkish help needed

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Turkish help needed

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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?
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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.
Post Reply