View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Greek language - ProjeQtOr
 
 

Greek language

More
27 Oct 2014 20:50 - 28 Oct 2014 02:35 #1 by 8omas
Greek language was created by 8omas
I began translating to Greek (el)
First of all, thx for the very good work.
Second
One of the problems has to do with the implementation.
in GeneralWork.php
you have :
  public static function displayShortWorkUnit() {
    self::setWorkUnit();
    $res=substr(i18n(self::$workUnit),0,1);
    return $res;
  }

The problem is that the word hours is translated in Greek as 'ώρες'.

The problem is solved if we write the above function as :
  public static function displayShortWorkUnit() {
    self::setWorkUnit();
    $res=substr(i18n(self::$workUnit),0,2);
    return $res;
  }

Third
I think that the xls file is outdated. After I made some translations and created the lang.js some of the strings in the GUI showed as [xxxxxxxxxx]

Thx again
Last edit: 28 Oct 2014 02:35 by 8omas.
The topic has been locked.
More
28 Oct 2014 02:34 #2 by 8omas
Replied by 8omas on topic Greek language
The same applies in Calendar.php at line 234
So the code
$result.=  substr(i18n(date('l',$iDay)),0,1) . $d ;
become
$result.=  substr(i18n(date('l',$iDay)),0,2) . $d ;
The topic has been locked.
More
28 Oct 2014 13:36 #3 by babynus
Replied by babynus on topic Greek language
Hi,

Your solutions works only woth greek language and would lead to display "da" for days in english.
It is because in greek, the first letter is 2 bytes long in UTF-8.

So, solution is :
public static function displayShortWorkUnit() {
    self::setWorkUnit();
    $res=mb_substr(i18n(self::$workUnit),0,1);
    return $res;
  }

Will be fixed this way in V4.5

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
More
28 Oct 2014 13:46 #4 by babynus
Replied by babynus on topic Greek language
You were right : lang.xls file was about V4.3.
I updated with V4.4 one.

NB : rather than trying to copy your changes in new fie, I think it will be more easy to sort on Version the V4.4 file, and then copy the last lines into your own competed file (you'll get less chance for errors)

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: 8omas
The topic has been locked.
More
28 Oct 2014 14:46 #5 by 8omas
Replied by 8omas on topic Greek language

babynus wrote: Hi,

Your solutions works only woth greek language and would lead to display "da" for days in english.
It is because in greek, the first letter is 2 bytes long in UTF-8.

So, solution is :

public static function displayShortWorkUnit() {
    self::setWorkUnit();
    $res=mb_substr(i18n(self::$workUnit),0,1);
    return $res;
  }

Will be fixed this way in V4.5


Even with this change I don' see the correct character.
As I wrote in the other utf8 post I think that the problem has to do with something like this:
mathiasbynens.be/notes/mysql-utf8mb4
The topic has been locked.
More
28 Oct 2014 22:34 - 28 Oct 2014 22:38 #6 by 8omas
Replied by 8omas on topic Greek language
This is the first version. There are some more strings to translate
Attachments:
Last edit: 28 Oct 2014 22:38 by 8omas.
The topic has been locked.
Moderators: babynusprotion
Time to create page: 0.035 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.