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.
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
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 ;
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
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)
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
Hi,
Many thanks for adding a new language translation to ProjeQtOr.
Will be included in next version !
Thanks.
Hi,
Many thanks again.
Will take this news version into account !
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?
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.