Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Greek language
 
Notifications
Clear all

Greek language

11 Posts
2 Users
0 Reactions
9,531 Views
(@8omas)
Posts: 27
Active Member
Topic starter
 
[#2058]

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


 
Posted : 27 Oct 2014 22H50
(@8omas)
Posts: 27
Active Member
Topic starter
 

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 ;

 
Posted : 28 Oct 2014 4H34
(@babynus)
Posts: 14952
Member Admin
 

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


 
Posted : 28 Oct 2014 15H36
(@babynus)
Posts: 14952
Member Admin
 

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)


 
Posted : 28 Oct 2014 15H46
(@8omas)
Posts: 27
Active Member
Topic starter
 

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:
https://mathiasbynens.be/notes/mysql-utf8mb4


 
Posted : 28 Oct 2014 16H46
(@8omas)
Posts: 27
Active Member
Topic starter
 

This is the first version. There are some more strings to translate


 
Posted : 29 Oct 2014 0H34
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Many thanks for adding a new language translation to ProjeQtOr.
Will be included in next version !

Thanks.


 
Posted : 29 Oct 2014 0H57
(@8omas)
Posts: 27
Active Member
Topic starter
 

New greek version with corrections and some more translated strings


 
Posted : 01 Nov 2014 2H52
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Many thanks again.

Will take this news version into account !


 
Posted : 01 Nov 2014 3H02
(@8omas)
Posts: 27
Active Member
Topic starter
 

Could you inform me, 2-3 days before the new version so as I can post the last changes?
Or better could we have the xls for the new version 2-3 days before so as we can add our translations?


 
Posted : 03 Nov 2014 23H31
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Yes, I always try to provide to translators latest version of lang.xls file a few days before deployment of version.
Next, V4.5.0 should come about 11/11.
By the way, if translation is not complete when deplyment occurs, there will likely be a fixing patch in the folowing days or week.


 
Posted : 05 Nov 2014 18H18
Share:

Scroll to Top