Page 1 of 1

Translate DICT properties

Posted: 28 Aug 2013 21:19
by joao.carlos
Hi everybody,

I found on 4760\locales\dict some text files (.properties) with many string translations and got very happy, because some string i had to change in reports were there.

But i translated everything with the texts i desired, but it did not change in reports.

I rebooted server, and nothing happened.

I'm trying to edit AccountOrganization_pt.properties.

I see, in the beginning of the file, the following message:

# THIS FILE IS GENERATED FROM THE FILE : R:\nmc50_java\src\dict\AccountingOrganization.xdct - 2011/11/14 12:34:41
#
# XMLDict tools version : XMLDictEditor.2.1.01.03


But i think it was generated on the compilation of the system.

Well, anyone knows how i can force omnivista to take my changes in account?

Thanks

Re: Translate DICT properties

Posted: 29 Aug 2013 02:56
by alex
Why try to enter the house from the closed window if there is an open door?
It's all in the docs.

4760 Administration Manual/Section 1. Interface/1.7 Customizing dictionaries

Re: Translate DICT properties

Posted: 29 Aug 2013 07:04
by joao.carlos
This path customizes only dictionaries for alarms and ldap attributes, not the reports. (AFAIK).

Re: Translate DICT properties

Posted: 29 Aug 2013 07:16
by alex
Right. That means that's all you can translate in 4760.
If you need to change, e.g, a name of a column in an accounting report, just double-click on it and and you would see a window where you can change font, color etc. There you also can change text that appears there.

Re: Translate DICT properties

Posted: 29 Aug 2013 10:21
by joao.carlos
Hi alex.

Unfortunately, it isn't that simple.
Look, i have a column of TYPE OF CALL.
Of course i can change this TITLE message, font, color, etc.
But the content of the information isn't available since it's dynamic.
It appears like:

PSTN Outgoing Call
PSTN Outgoing Call via private network
Private Outgoing call
Private Outgoing call via private network

These are too long descriptions of the TYPE OF CALL that is inserted on BD.

The issue is that the client wants a report with this information, but tthe description of type of call should be only OUTGOING or INCOMING, because the report will be exported to excel and processed by an 3rd party sw to produce the info they want.

Re: Translate DICT properties

Posted: 30 Aug 2013 02:24
by alex
Now I see.
Yes you can't translate these fields with Dictionary customizing.
For your case doc says:
dictionary files that only contain one language and are not easily modifiable.
Easiest way I think is to post-process generated Excel reports with some kind of macro.

Re: Translate DICT properties

Posted: 31 Aug 2013 06:37
by corwin
Field name can be changed
Use customdict or in report edit the layout to rename autogenerated column title.

Field value are hard coded in .jar file
2 solution
Unzip jar
Édit properties
Update jar file

You Will lose the jar checksum
On 4760, this means topology canot be opened due to license of partner based on the checksum
And any client jar file update remove the modification

Second solution
Group you report by call type
And try to define a label that use call type value but display a custom string

Hope it Will help you

Re: Translate DICT properties

Posted: 31 Aug 2013 08:27
by joao.carlos
Hi corwin,
Thank you very much. As the client does not have Topology, i'll try to edit the jar file.
Which jar file is that?

The group solution i've thinked about, but will not work in this case, but thank you for the tip.

Re: Translate DICT properties

Posted: 07 Sep 2013 12:07
by corwin
It s the main one
nmc50.jar. around 10mb of zipped code+ properties that can be edited
I test the trick on same accounting fields 10 years ago
At that Time , the value translated in italian where mixed