Translating QueueMetrics into a new language



Similar documents
Sterling Web. Localization Guide. Release 9.0. March 2010

How to translate VisualPlace

opencrx Language Localization Guide

Table Of Contents. iii

IBM Unica emessage Version 8 Release 6 February 13, User's Guide

Loway. r e s e a r c h. QueueMetrics. call center monitor. Tracing outbound calls through QueueMetrics On TrixBox. Version 2.0

FileMaker Server 12. Custom Web Publishing with PHP

FileMaker Server 13. Custom Web Publishing with PHP

MailEnable Web Mail End User Manual V 2.x

7 Why Use Perl for CGI?

2- Electronic Mail (SMTP), File Transfer (FTP), & Remote Logging (TELNET)

Avid Technology, Inc. inews NRCS. inews FTP Server Protocol Specification. Version January 2006

DocuSign for SharePoint Online v2.4

Pulse Secure Client. Customization Developer Guide. Product Release 5.1. Document Revision 1.0. Published:

FileMaker Server 9. Custom Web Publishing with PHP

Interactive Reporting er Manual

NIST/ITL CSD Biometric Conformance Test Software on Apache Hadoop. September National Institute of Standards and Technology (NIST)

How To Manage Your Spam On Graymail On Pc Or Macodeo.Com

Migrating to vcloud Automation Center 6.1

Code Estimation Tools Directions for a Services Engagement

phpservermon Documentation

Web-JISIS Reference Manual

Internationalizing the Domain Name System. Šimon Hochla, Anisa Azis, Fara Nabilla

Preservation Handbook

4PSA DNS Manager Translator's Manual

Appendix. Web Command Error Codes. Web Command Error Codes

IP Phone Services Configuration

HP Service Manager Compatibility Matrix

TZWorks Windows Event Log Viewer (evtx_view) Users Guide

SPSS: Getting Started. For Windows

Installing and Running the Google App Engine On Windows

USER GUIDE MANTRA WEB EXTRACTOR.

Understanding MySQL storage and clustering in QueueMetrics. Loway

Ensim WEBppliance 3.1 for Linux (LH) Release Notes

Unicode Enabling Java Web Applications

2- Electronic Mail (SMTP), File Transfer (FTP), & Remote Logging (TELNET)


Creating a Java application using Perfect Developer and the Java Develo...

ODEX Enterprise. Introduction to ODEX Enterprise 3 for users of ODEX Enterprise 2

Paid 400 / month Sales support and Customer care internship inbarcelona, Spain

D EUOSME: European Open Source Metadata Editor (revised )

Tracing outbound calls through QueueMetrics On TrixBox. Version 1.0. Loway di Lorenzo Emilitri Via Ligornetto 17a 6854 San Pietro - Switzerland

DiskPulse DISK CHANGE MONITOR

POLARIS INSTALLATION

Manual CisWeb application A gwt-based web service that provides access to language processing tools of CIS

Telephony Toolbar Corporate. User Guide

MS Access Lab 2. Topic: Tables

Loway. r e s e a r c h. QueueMetrics. call center monitor. Accessing QueueMetrics through the XML-RPC interface. Version 1.

The KSystemLog Handbook. Nicolas Ternisien

Protection for your account

Release Notes RSA Authentication Agent for Web for IIS 7.0, 7.5, and 8.0 Web Server

1 Using CWEB with Microsoft Visual C++ CWEB INTRODUCTION 1

Forefront Management Shell PowerShell Management of Forefront Server Products

ADP Secure Client User Guide

Ipswitch Client Installation Guide

CrownPeak Playbook CrownPeak Hosting with PHP

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Sentinel Cloud V.3.5 Installation Guide

CA Unified Infrastructure Management Server

Crystal Reports Server 2008 V1 Upgrade Guide Crystal Reports Server 2008 V1

Command Line - Part 1

XML. CIS-3152, Spring 2013 Peter C. Chapin

One Report, Many Languages: Using SAS Visual Analytics to Localize Your Reports

Mobility Tool+ Guide for Beneficiaries of the Erasmus+ programme

Open-Xchange Server Backup Whitepaper

Sharpdesk V3.5. Push Installation Guide for system administrator Version

White Paper. Translation Quality - Understanding factors and standards. Global Language Translations and Consulting, Inc. Author: James W.

InfiniteInsight 6.5 sp4

The following features have been added to FTK with this release:

Novell Filr. Windows Client

Prescribed Specialised Services 2015/16 Shadow Monitoring Tool

WebSphere Application Server security auditing

Parallels Plesk Panel

MIGS Payment Client Installation Guide. EGate User Manual

How To Set Up A Webmin Account On A Libc (Libc) On A Linux Server On A Windows 7.5 (Amd) With A Password Protected Password Protected (Windows) On An Ubuntu (Amd

Chapter 2 Creating a Database

Microsoft Access is an outstanding environment for both database users and professional. Introduction to Microsoft Access and Programming SESSION

Synergy Controller Application Note 4 March 2012, Revision F Tidal Engineering Corporation Synergy Controller Bar Code Reader Applications

Thank you for using AD Bulk Export 4!

PHP Debugging. Draft: March 19, Christopher Vickery

Participant Guide RP301: Ad Hoc Business Intelligence Reporting

Integrating VoltDB with Hadoop

QAD Business Intelligence Release Notes

Witango Application Server 6. Installation Guide for OS X

The Export Dialog Target Folder Importing files

SHORT COURSE ON Stata SESSION ONE Getting Your Feet Wet with Stata

1 How to install CQ5 with an Application Server

Language Translation Services RFP Issued: January 1, 2015

McAfee Network Threat Response (NTR) 4.0

Content Server Installation Guide

STATGRAPHICS Online. Statistical Analysis and Data Visualization System. Revised 6/21/2012. Copyright 2012 by StatPoint Technologies, Inc.

Using Database Metadata and its Semantics to Generate Automatic and Dynamic Web Entry Forms

Nesstar Server Nesstar WebView Version 3.5

Emerge Assistant Toolbar Guide

Send TLM. Table of contents

Transcription:

Translating QueueMetrics into a new language Translator s manual AUTORE: LOWAY RESEARCH VERSIONE: 1.3 DATA: NOV 11, 2006 STATO: Loway Research di Lorenzo Emilitri Via Fermi 5 21100 Varese Tel 0332 320550 Fax 0332 328609 p.i. 02888500127

Pagina 2 di 8 Index Document contents...3 Revision history...3 Translating QueueMetrics...3 The locale...3 Setting the correct editor encoding...4 Translating the language file...4 Translating Decoding Tables...5 Testing your work...6 Licence...7 Appendix I: recoding ISO-8859_1 data...7 2

Pagina 3 di 8 Document contents This document explains how to translate QueueMetrics into a different language or for a foreign country. After version 1.3, QueueMetrics offers full internationalization primitives, so translating QueueMetrics may take less than a couple of hours. Revision history Sep 18, 2006: first draft Sep 22, 2006: added language name Sep 28, 2006: added docs on QueueMetrics 1.3 alpha Nov 11, 2006: QM now uses UTF-8 as the basic encoding. Translating QueueMetrics To translate QueueMetrics, you need to translate two different kinds of documents: The language file All relevant Decoding Tables The language file is where most of the strings found in QueueMetrics can be found. It is named something like queuemetrics_en_us.properties and can be found under QueueMetrics/WEB-INF/LIntl. Each language has a separate language file. The Decoding Tables are used to store multiple values and expanded strings, and will be found under QueueMetrics/WEB-INF/LDec. Each language has a separate folder containing its set of Decoding Tables. No tools are needed to translate QueueMetrics but a modern text editor and a little patience. The locale QueueMetrics translations work by applying a locale to QueueMetrics, i.e. a set of conventions known for a certain language as spoken in a certain country. A locale must be used that is compatible with the Java language; if in doubt, ask Loway Research first. Valid examples of locales are: en_us: English as spoken in the USA it_it: Italian for Italy es_es: Spanish for Spain fr_fr: French for France 3

Pagina 4 di 8 de_de: German for Germany pt_pt: Portuguese for Portugal and Brazil A complete list of possible locales is available at: http://java.sun.com/j2se/1.4.2/docs/guide/intl/locale.doc.html Setting the correct editor encoding QueueMetrics uses the encoding UTF-8 for its pages, so you should make sure that the text editor you use will save non ASCII characters as UTF-8. Failure to do so might end up making your non-ascii characters unreadable on QueueMetrics pages, even if they look perfectly on the language files. Most text editors today support saving text files with different encodings. Please note that the language files require an additional step after being edited in UTF-8: they must then be converted into Java native encoded files before being used by QueueMetrics 1. Translating the language file The language file is a standard Java property file. For each line a placeholder is defined and then the actual text that appears for that placeholder. E.g. hdr_print=print hdr_logoff=log off hdr_home=home hdr_answered=answered hdr_unanswered=unans. Empty lines are allowed in the file and lines starting with the # key are considered comments. To translate a language file, start by making a copy of the queuemetrics_en_us.properties file to your own locale and then change the values after the =. DO NOT modify the keys, as they are used by QueueMetrics to find the correct string. It is possible that some values are HTML or contain HTML entities; just change the English text to your own language. 1 Feel free to thank the original Java library developers for this additional step. Processing non-ascii text streams in Java is for the brave and patient only! 4

Pagina 5 di 8 Keys are usually grouped by QueueMetrics page; it is a good idea to translate them by looking at the page on which they will appear. Do not turn a very short sentence into a much longer one, as this may break the formatting of some table. A few keys placed at the top of the file - have special meaning: 00-LanguagePack: do not touch 00-Author: place your name here 00-Licence: place the licence type here (we suggest to type Public domain ) 00-LanguageName: the name of the local language, i.e. the one that appears in the drop-down combo box on the auth page. Dateformat_*: these values are used to format date and time values. The syntax is explained in http://java.sun.com/j2se/1.4.2/docs/api/java/text/simpledateformat.html. If in doubt, leave them as they are or ask Loway Research. A wrong formatting code may break QueueMetrics. If you use non ASCII characters in your language files (as will be the case for most non-english languages), you need a further step to encode your UTF-8 characters into a format that the Java subsystem will understand. You can accomplish this by typing the following commands on a system with a Java SDK installed: mv queuemetrics_xx_xx.properties qm_xx_xx.orig native2ascii -encoding UTF8 qm_xx_xx.orig queuemetrics_xx_xx.properties This will copy your UTF-8 file to.orig and then recreate a native properties file with the same name. Translating Decoding Tables To translate decoding tables, make a copy of the directory en_us and translate it to your locale. Each decoding table is made up of a key and a set of values, separated by the pipe symbol. An example is given below: L Agent is currently logged on X Agent is currently logged off P Agent is currently paused? Agent status cannot be determined You NEVER have to change the first value of a word,, even if it contains an English word. You must change all other occurrences. Do not change the case of the keys and do not remove trailing pipes. 5

Pagina 6 di 8 Translating all Decoding Tables is quite fast and will not take much. A few decoding tables are fully numeric, so no translation is needed. Make sure that the text in your decoding tables is all encoded using UTF-8, as this is the charset used for reading. Wrongly-encoded characters will end up showing as question marks in QueueMetrics. Testing your work To test your work: Install a version of QueueMetrics whose version number is greater to or equal to 1.3.0 Copy your language file to queuemetrics/web-inf/lintl with the name queuemetrics-xx_yy.properties Copy your translated Decoding Tables to the folder queuemetrics/web- INF/LDec/xx_YY/ Log off QueueMetrics Stop Tomcat Delete the contents of the folder /tomcat/work/catalina (this is where user sessions are stored when Tomcat is shut down). It is VERY important that you follow this step, otherwise the Decoding Tables may not be reloaded when Tomcat starts. Restart Tomcat Go to QueueMetrics home page and select your new language from the selector combo. If you forgot to translate a label into your new language, you will see QueueMetrics display the string #labelname# instead, where labelname is the name of the missing label. You should check the following points for accuracy: Dates and decimal numbers have the correct representation for your language All fields appear to be filled, i.e there re no blank labels ( check the Inbound / outbound setting of the Answered calls, by direction box) The length of each field is consistent with its graphic space, i.e. tables are not deformed by their headers If you encounter any problem in the translation process, feel free to contact Loway Research for help. 6

Pagina 7 di 8 Licence We suggest that you release your translations of QueueMetrics into the Public Domain or the GNU LGPL licence, so that we can redistribute them with QueueMetrics itself. If you do so, we are going to add your name and/or your firm s on the Contributors page in QueueMetrics itself, and we believe this may be a powerful way to make yourself known to QueueMetrics users worldwide. Appendix I: recoding ISO-8859_1 data If your text editor only supports ISO-8859_1 (latin) charset, you can still use it to traslate QueueMetrics. This will require an additional step in order to translate the Decoder files to simple UTF-8 and the language file to native-encoded UTF-8. The following Perl script, to be executed in Linux on a machine with an installed Java SDK, will help you in recoding ISO-8859 files to UTF8. The following example will search for it_it files in a directory called src and will copy them to a directory called dst. Make sure that dst/it_it (or whatever your locale is) exists before running it. # recode I18N files @files = (); push @files, mkfiles( "it_it" ); foreach $file (sort @files) { print "$file...\n"; if ( $file =~ /.properties$/ ) { `native2ascii -encoding ISO8859_1 src/$file dst/$file`; } else { `iconv --from-code=iso_8859-1 --to-code=utf-8 --output dst/$file src/$file`; } } sub mkfiles() { my ($lang) = @_; return ( "queuemetrics_$lang.properties", "$lang/agentlevel.txt", "$lang/analisi_prefisso.txt", "$lang/analisi_wizard.txt", "$lang/combo_analisi_code.txt", "$lang/day_month.txt", "$lang/disconnect_ko.txt", "$lang/disconnect_ok.txt", "$lang/live_agent_status.txt", 7

Pagina 8 di 8 "$lang/masterkey_abilitato.txt", "$lang/offset_orario.txt", "$lang/pgag_callstatus.txt", "$lang/queuedirection.txt" ); } If you are unsure about these recoding operations, just send us your files and tell us the codepage you used to compose them, and we will recode them for you as needed. Please note that the name of the codepages used by iconv and native2ascii do not match, feel free to consult: Run iconv list to see a list of supported encodings See http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html for encodings supported by native2ascii 8