Documente Academic
Documente Profesional
Documente Cultură
P2000 V3.8
SIGNATURE
PREPARED BY
DATE
09/19/2008
ENGINEERING
SPECIFICATION
09/19/2008
TITLE:
Ozgur Aral
REVIEWED BY
Serge Miller
FINAL APPROVAL
REV
CHANGE NO.
BY
DATE
Rev.
ENG. SPEC NUMBER
0.1
SHEET
32
OF
Revision History
Name
Ozgur Aral
Ozgur Aral
Date
09/19/08
12/07/09
Revision
0.1
Description
Initial Version
Rearranged order in Reports Section
TABLE OF CONTENTS
INTRODUCTION ..................................................................................... 5
5.1
5.2
Translation of Spanish Language Reports ..................................................................................16
5.2.1 Prerequisites .................................................................................................................................16
5.2.2 Affected P2000 Standard Reports ................................................................................................17
5.2.3 Flowchart on identifying and editing Crystal Report Files ..........................................................18
5.2.4 Instructions on Editing P2000 Crystal Report Files .....................................................................19
5.2.5 Special Notes on Manually Editing Crystal Report Files .............................................................22
5.2.5.1
5.2.5.2
5.2.5.3
5.2.5.4
5.2.5.5
5.3
Support for Correct Printing and Exporting of Spanish Language P2000 Reports ...............26
5.3.1 Changing Fonts Using the Crystal Reports Editor .......................................................................27
5.4
5.5
Figures
Figure 3-1 Location of extracted language files in the resources\ESP folder .................. 6
Figure 3-2 P2000 Config Menu .......................................................................................... 7
Figure 3-3 Local Settings Application ................................................................................ 7
Figure 3-4 Login Screen in Spanish.................................................................................... 8
Figure 3-5 Alarm Monitor in Spanish ................................................................................. 8
Figure 3-6 Cardholder Application in Spanish ................................................................... 9
Figure 3-7 Real Time List in Spanish ................................................................................. 9
Figure 3-8 System Configuration in Spanish .................................................................... 10
Figure 3-9 System Status in Spanish ................................................................................ 10
Figure 4-1 Location of extracted language files in the resources\ENU folder............... 11
Figure 4-2 P2000 Config Menu ........................................................................................ 12
Figure 4-3 Local Settings Application .............................................................................. 12
Figure 5-1 P2000 Reports Folder with ESP folder added................................................. 13
Figure 5-2 Reports Menu .................................................................................................. 13
Figure 5-3 Load Language Reports for Spanish ............................................................... 14
Figure 5-4 Run Reports Menu .......................................................................................... 14
Figure 5-5 Reports Menu .................................................................................................. 14
Figure 5-6 Sample Report ................................................................................................. 15
Figure 5-7 Setting a P2000 Crystal Reports file to Read/Write .................................... 17
Figure 5-8 P2000 Crystal Report Modification Flowchart ............................................... 18
Figure 5-9 Crystal Reports editor ..................................................................................... 19
Figure 5-10 Edit Formula pop-up menu ........................................................................... 20
Figure 5-11 Editing a text field within a formula ............................................................. 20
Figure 5-12 Editing an identified subreport ...................................................................... 21
Figure 5-13 Text fields contained within a Subreport ...................................................... 21
Figure 5-14 Format Objects in Crystal Reports ................................................................ 22
Figure 5-15 Format Editor in Crystal Reports .................................................................. 23
Figure 5-16 Updating Preprocessed Reports .................................................................... 24
Figure 5-17 Changing fonts in Crystal Reports ................................................................ 26
Figure 5-18 Changing fonts in Crystal Reports - Close Up .............................................. 26
Figure 5-19 Selecting all fields in a report........................................................................ 27
Figure 5-20 Highlighted Report Fields ............................................................................. 27
Figure 5-21 Selected Report Fields................................................................................... 28
Figure 5-22 Printer Setup from Crystal Reports Designer................................................ 29
Figure 5-23 Print Setup dialog box ................................................................................... 29
Figure 5-24 Selecting the necessary fields........................................................................ 30
Figure 5-25 Selected fields to re-align with the page size ................................................ 30
Figure 5-26 Selecting a drag point .................................................................................... 31
Figure 5-27 Re-aligned fields ........................................................................................... 31
Tables
Table 5-1 List of P2000 Reports that require editing ....................................................... 17
Table 5-2 List of P2000 Reports and their associated Crystal Report Filenames ............ 25
1 Introduction
This document outlines the necessary procedures to install the Spanish Language version
of the P2000 system for P2000 Version 3.8.
2 Software Requirements
The Spanish Language installation procedure has the following prerequisites:
1. P2000 Version 3.8 is already installed and operational.
2. The Windows Operating system that the P2000 application is loaded on is already
configured to support Spanish language characters and text.
3. The ZIP file P2000 V30800 B[xx] ESP [yyyymmdd].zip containing the P2000
Spanish Language files, where:
a. [xx] references the build number that matches the currently installed build of
P2000.
b. [yyyymmdd] references the build date of associated language DLL file, in the
format Year, Month, Day.
5. Navigate to the P2000 Local Configuration application from the P2000 menu by
selecting the System Local menu item.
7. Click the OK button to save the changes and to close the Local Configuration
application.
8. Reboot the computer.
9. After reboot, launch the P2000 Version 3.8 application.
10. Verify that the application is now displaying in the Spanish language. Below are
some sample screenshots demonstrating some of the P2000 components loaded
with the Spanish Language.
10
4. Navigate to the P2000 Local Configuration application from the P2000 menu by
selecting the System Local menu item.
6. Click the OK button to save the changes and to close the Local Configuration
application.
7. Reboot the computer.
8. After reboot, launch the P2000 Version 3.8 application.
9. Verify that the application is now displaying in the English language.
12
2. Copy the entire contents (all of the rpt files) of the P2000 REPORTS directory into
the newly created directory (e.g. C:\Program Files\Johnson
Controls\CARDKEY P2000\reports\ESP\ ).
3. Select the Reports menu from the P2000 Toolbar, and select Load Language Reports
4. Select Spanish as the report language, and click OK to load the reports.
5. Once complete, launch the reports window and verify that the Spanish language
reports have been loaded.
14
7. After entering any filter parameters, if any, verify that the report runs.
15
5.2.1 Prerequisites
Editing of the limited set of Crystal Report files that do not support the P2000 Language
Translation feature requires the purchase of the Crystal Reports software package.
Crystal Reports XI (version 11) Standard Edition is available directly from the
manufacturer Business Objects, and can be purchased for download directly from their
website for $220 USD as of February 12, 2008:
http://store.businessobjects.com/
16
The list of following report files must be manually edited to translate static text strings,
using the Crystal Reports software package:
Table 5-1 List of P2000 Reports that require editing
Report Title
Report Filename
17
18
Utilizing a printed copy of the P2000 report that contains non-translated strings, find and
identify fields contained in the Crystal Report file that are made up of hard coded English
text. If a text field requires manual translation, this can be identified with the value of the
text field containing hard coded text, instead of a parameter value. All parameter values
are preceded by a question mark (?), while hard coded English text begins with a letter
or number.
For example, a text field containing the value Menu Item must be translated.
Alternatively, if a text field contains ?menuitemlabel then this field is automatically
translated by P2000, and does not need a manual translation.
Once an identified field is selected, double click on the field to edit the text, and replace
the contents of the text field with the appropriate Spanish language text.
19
In some cases, hard coded text strings may be contained within Formula fields. These can
be identified with the @ character at the beginning of the text. In the case where hard
coded English text may be appearing in a Formula field, the formula field must be edited.
This can be done by right clicking on the Formula field, and selected Edit Formula
from the pop-up menu.
Once the Formula field is open for editing, identify any hard coded text contained within
double quotes throughout the formula (e.g. Badge Resync). Modify the text contained
within the quoted with the appropriate Spanish language text.
20
Finally, in some cases, hard coded text strings may be contained within Subreports. These
are identified as stand alone objects which are embedded report files. Right clicking on
these objects will bring up a pop-up menu indicating that the object is a Subreport.
Right click on the Subreport object, and select Edit Subreport to open the Subreport in
a new tab. Then follow the same instructions above to identify and correct any text that
may need updating to the appropriate Spanish language text.
21
In the subsequent Format Editor dialog that opens, navigate to the Date / Time tab,
and select the appropriate syntax that is desired. Note that selecting System Default
Time permits the field to display the same syntax as is configured on the specific OS
that the report is running on. Figure 5-9 displays an example of the Format Editor.
22
Once the change is complete, be sure to save the report file, and load it into the P2000
database.
23
In order to run these preprocessed reports on a fresh installation of P2000, where the
nightly PNTPeriodic service has not yet had an opportunity to automatically populate
these tables, it is advised that the tables be manually updated through the Database
Maintenance application. This will also be necessary when it is desired that the most
current data be displayed on the preprocessed reports.
24
Report Title
Report Filename
25
This will enable all the fields on the report to be selected, and in the case of many reports,
will permit the user to execute a global font type / size change.
Alternatively, a user can select groups of fields manually by clicking outside a group of
objects on layout page, and clicking - dragging the mouse to highlight all of the desired
fields. Figure 5-14 demonstrates the highlight feature.
Highlighted Fields
27
If the font type / size boxes are not enabled after highlighting a selection of objects, this is
an indication that certain objects (such as subreports or graphical lines) have been
selected, that are not subject to font rules. Accordingly, these objects must be unselected
before a global font change can be executed. This can be done by holding the <CTRL>
key down and clicking once on the object that you wish to unselect, which if done
correctly, will enable all the other objects to remain selected. Figure 5-15 below displays
an example where all necessary objects have been selected, with various subreport or
graphical line objects unselected.
Also, when editing the fonts on the report files, while a size 9 font is recommended for
most fields using the MS Gothic font type, it is suggested that a larger font size be
retained for certain fields which may identify a particular section of the report (e.g. the
Report Title).
Finally, any objects within subreports must also be modified to use the MS Gothic font
type, and 9 point size, as outlined in the steps above to support printing and exporting of
Spanish characters. For instructions on modifying subreports, please refer to section
5.1.4.
28
29
Once the new paper size is selected, the report layout will be realigned for the new paper
size. In some cases, due to the difference in paper size, some fields will be extended
beyond the usable layout page of the report. It will then be necessary to re-align these
fields accordingly. Figure 5-18 demonstrates an example of the Alarm History report that
has been re-paginated for A4 paper, where several fields are now stretching beyond the
usable area of the page.
To re-align the fields, click drag the mouse to highlight all of the necessary fields that
are extending outside of the page to select those fields. Figure 5-16 demonstrates an
example of selecting the required fields, while Figure 5-19 demonstrates an example of
the selected fields that will need to be re-aligned.
30
Once the required fields have been selected, click on one of the highlighted fields where
the drag points have been enabled (see Figure 5-20 for an example), and drag the field so
that it lies just on the usable area of the report. Figure 5-21 demonstrates an example of
the re-aligned fields.
31
32