Showing posts with label k2. Show all posts
Showing posts with label k2. Show all posts

Friday, 9 September 2011

Greek translation team for K2 at Transifex

A while ago K2 has moved the maintenance of the various translations files to Transifex.

I recently applied for the creation of the Greek team at Transifex, where I currently coordinate. I did manage to upload many of the .ini files of the last Greek translation I made for K2 (v2.3), but there are still many strings to be translated.

If any of you want to help in the project, please create an account at Transifex first and then apply to become a member of the Greek translation team.

Tuesday, 20 July 2010

Greek translation for K2

Recently I fully translated the well known component for Joomla called K2 (version 2.3) in the Greek language. You may download the latest Greek translation package here. The installation file is packed in ZIP format and contains both the translation for the backend as well for the frontend. All you have to do is to install the translation package with Joomla's own installer (Extensions > Install/Uninstall).

Saturday, 10 July 2010

Bug in Joomla's file libraries/joomla/environment/uri.php

A week ago I was testing 2 well-known Joomla CCK Components JoomlaWorks K2 and YOOtheme's Zoo 2.0. Since I wanted to test them how they do with multilingual content I wrote first a couple of articles in Greek language and set some tags (also in Greek). The tags which had the Greek letter "ρ" in them didn't behave as they should; what I mean, when I clicked on them they displayed an empty content page (no articles were found), although there were articles tagged with them! I was wondering what the problem could be..

I contacted the support Forums for both K2 and YOOtheme (no answer so far) and told them about that; Lefteris Kavadas from K2 Forum told me he found that the function _parseURL returns some undefined character when a tag has the letter "ρ" in it. I also started a thread at Joomla's official support Forum and asked if they could help (no answer so far).

I was so curious about that and investigated further..well it seems that there is a bug within Joomla's file libraries/joomla/environment/uri.php!

I changed the file libraries/joomla/environment/uri.php (Joomla 1.5.18) by commenting out the following lines of code: 744,745,769-773. In this way the function _parseURL parses the URL with the "old" way as if we were using an older version of PHP.. and guess what, the problem with the undefined character is solved! Now all tags that contain Greek letters (especially the ones with the "ρ" letter) work just fine.

I'm not sure if this fix works with all different versions of PHP (I tested it locally with XAMPP 1.7.3 - PHP 5.3.1 - Joomla 1.5.18), but I'm sure it will help people who had the same problem as I did.