View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Problems with lists of objects - Page 2 - ProjeQtOr
 
 

Problems with lists of objects

More
21 Jun 2014 11:58 #7 by Jean-Luc
Sorry, don’t work, whatever I did (emptying cache, exit from Browser, and until shutdown/restart the computer – I work with local server, so all caches are empty).

Display still looks like this :



However, what for fields having already a formatting, as colorNameFormatter ?
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Jun 2014 12:28 #8 by babynus
1) all the countryXxxx must exit in the translation file.
2) the layout must be :

<th field="name" width="15%" formatter="translateFormatter">${name}</th>

You cannot have simultaneously colorNameFormatter and translateFormatter (one only)

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
21 Jun 2014 13:02 #9 by Jean-Luc

babynus wrote: 1) all the countryXxxx must exit in the translation file.
2) the layout must be :

<th field="name" width="15%" formatter="translateFormatter">${name}</th>

But IT IS the layout !!! (only width is different, but pure html parameter).
Whatever I can do, the translation at this level only put the name between brackets – as it was not in lang.js…

babynus wrote: You cannot have simultaneously colorNameFormatter and translateFormatter (one only)

Too bad.
Thus I have to create a "colorTranslateNameFormatter" (found the module containing these functions. ;) )
(possible enhancement for a future version, no ?)

Please Log in or Create an account to join the conversation.

More
21 Jun 2014 13:30 #10 by babynus

But IT IS the layout !!! (only width is different, but pure html parameter).
Whatever I can do, the translation at this level only put the name between brackets – as it was not in lang.js…

You have to reset layout (as shown on previous screenshot) to take into account layout change.

hus I have to create a "colorTranslateNameFormatter" (found the module containing these functions. ;) )
(possible enhancement for a future version, no ?)

Possible.
But I will not spend time on this, as I pesonnaly see no interest to it.
If you code it, please post it so that include change in later version.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
21 Jun 2014 13:40 #11 by Jean-Luc
It put a track in the i18n function for values not found.
Correct for some other missing values as "AuditSummary", "mandatory", "indicatordefinitionActualDueDateTime", "indicatordefinitionInitialDueDateTime" or "tickettypeTypeTicketIncident"…
But nothing about expected translations. So :
1. i18n is not called (or called with $i18nMessages set).
2. Implies translateFormatter is not called or with an empty value.

But in second case, from where come the brackets ? So I think $i18nmessages wrongly set.

I continue investigation…

Please Log in or Create an account to join the conversation.

More
21 Jun 2014 14:47 - 22 Jun 2014 09:35 #12 by Jean-Luc
Problem localized:

When calling function i18n in projeqtor.js, even when i18nMessages loaded, the string to translate is never found!

… but as I’m not fluent with javascript, I am not able to see deeper…
(I don’t know how to display javascript array content)

Edit 22 june : suceeded to return length of array i18nMessages : always "undefined", so no values are returned by function "dojo.i18n.getLocalization".

Can you investigate with these infos?
Last edit: 22 Jun 2014 09:35 by Jean-Luc.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.050 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.