Sterling Web. Localization Guide. Release 9.0. March 2010



Similar documents
Sterling Call Center. Upgrade Guide. Release 9.2

Sterling Call Center and Sterling Store: Installation Guide. Release 8.5

opencrx Language Localization Guide

Translating QueueMetrics into a new language

Eventia Log Parsing Editor 1.0 Administration Guide

An Oracle White Paper March Integrating the SharePoint 2007 Adapter with WebCenter Spaces ( & )

1 How to install CQ5 with an Application Server

Catalog Web service and catalog commerce management center customization

PN Connect:Enterprise Secure FTP Client Release Notes Version

NetBeans IDE Field Guide

USING MAGENTO TRANSLATION TOOLS

EMC Documentum Composer

Using InstallAware 7. To Patch Software Products. August 2007

Setting Up Person Accounts

TIBCO Fulfillment Provisioning Session Layer for FTP Installation

Oracle Universal Content Management

WebSphere Commerce V7 Feature Pack 3

Citrix StoreFront. Customizing the Receiver for Web User Interface Citrix. All rights reserved.

J2T Points & Rewards Magento Extension

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

Embed BA into Web Applications

JOINUS AG. PowerPay Checkout. Magento Module User Manual. Support:

docs.hortonworks.com

IBM Business Monitor Version IBM Business Monitor Installation Guide

PeopleSoft Enterprise Campus Solutions 9.0 Enrollment Web Services

Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide

Install guide for Websphere 7.0

Banana is a native application for Windows, Linux and Mac and includes functions that allow the user to manage different types of accounting files:

SimbaEngine SDK 9.4. Build a C++ ODBC Driver for SQL-Based Data Sources in 5 Days. Last Revised: October Simba Technologies Inc.

Nesstar Server Nesstar WebView Version 3.5

TIBCO Hawk SNMP Adapter Installation

OxyClassifieds Installation Handbook

Personal Token Software Installation Guide

NetBackup Backup, Archive, and Restore Getting Started Guide

CASHNet Secure File Transfer Instructions

Sentinel Cloud V.3.5 Installation Guide

LRGS Client Getting Started Guide

White Label ios Application Installation and Customization Guide

Leveraging WebSphere Commerce for Search Engine Optimization (SEO)

New Features... 1 Installation... 3 Upgrade Changes... 3 Fixed Limitations... 4 Known Limitations... 5 Informatica Global Customer Support...

FUNCTIONAL OVERVIEW VERSION: 1.0

PeopleSoft Candidate Gateway 9.1 PeopleBook

Joomla! template Blendvision v 1.0 Customization Manual

MIGS Payment Client Installation Guide. EGate User Manual

Bitrix Site Manager ASP.NET. Installation Guide

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

Price list update. What this exercise is about What you should be able to do Introduction Requirements... 2

TIBCO Spotfire Automation Services 6.5. User s Manual

Getting Started using the SQuirreL SQL Client

Reading multi-temperature data with Cúram SPMP Analytics

WebSphere MQ Oracle Enterprise Gateway Integration Guide

Deploying Intellicus Portal on IBM WebSphere

IP phone services setup

TIBCO Runtime Agent Authentication API User s Guide. Software Release November 2012

Oracle Enterprise Manager

Embed BA into Web Applications

Linux. Managing security compliance

How To Login To The Mft Internet Server (Mft) On A Pc Or Macbook Or Macintosh (Macintosh) With A Password Protected (Macbook) Or Ipad (Macro) (For Macintosh) (Macros

Version Provance Technologies, Inc. All rights reserved. Provance Technologies Inc. 85 Bellehumeur Gatineau, Quebec CANADA J8T 8B7

Community Builder Language Package Guide Updated for CB 1.2.3

JasperServer Localization Guide Version 3.5

Setting Up Resources in VMware Identity Manager

SETTING UP ACTIVE DIRECTORY (AD) ON WINDOWS 2008 FOR EROOM

PHP Integration Kit. Version User Guide

Red Hat Enterprise Linux International Language Support Guide

Integrating Oracle Sales Cloud, Release 9 with JD Edwards EnterpriseOne release 9.1 Implementation Guide

PTC Integrity Eclipse and IBM Rational Development Platform Guide

fåíéêåéí=péêîéê=^çãáåáëíê~íçêûë=dìáçé

Crystal Server Upgrade Guide SAP Crystal Server 2013

PeopleSoft HR 9.1 PeopleBook: Administer Compensation

Iceberg Commerce Video Gallery Extension 2.0 For Magento Version 1.3, 1.4, 1.5, 1,6

Available Update Methods

Polar Help Desk Installation Guide

Copyright 2014, SafeNet, Inc. All rights reserved.

Sugar Open Source Installation Guide. Version 4.5.1

Mastering Magento Theme Design

SAS Marketing Automation 4.4. Unix Install Instructions for Hot Fix 44MA10

TUTORIAL 4 Building a Navigation Bar with Fireworks

Virtual Exhibit 5.0 requires that you have PastPerfect version 5.0 or higher with the MultiMedia and Virtual Exhibit Upgrades.

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014

Microsoft Dynamics GP SQL Server Reporting Services Guide

Business Interaction Server. Configuration Guide Rev A

NiCE Log File Management Pack. for. System Center Operations Manager Quick Start Guide

TIBCO Administrator User s Guide. Software Release March 2012

CA Unified Infrastructure Management Server

IBM WebSphere Application Server Version 7.0

Oracle Exam 1z0-102 Oracle Weblogic Server 11g: System Administration I Version: 9.0 [ Total Questions: 111 ]

Install BA Server with Your Own BA Repository

OneFabric Connect and Lightspeed Systems Rocket Web Filtering Appliance

VERITAS NetBackup 6.0

Installation Guide. MashZone. Version 9.6

Silect Software s MP Author

Installation Guidelines (MySQL database & Archivists Toolkit client)

Oracle Essbase Integration Services. Readme. Release

HP Enterprise Integration module for SAP applications

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

Change Manager 5.0 Installation Guide

Microsoft Visual Studio Integration Guide

Transcription:

Sterling Web Localization Guide Release 9.0 March 2010

Copyright 2010 Sterling Commerce, Inc. All rights reserved. Additional copyright information is located on the Sterling Web Documentation Library: http://www.sterlingcommerce.com/documentation/mcsf90/swcopyrightpage.htm

Contents Localizing the Sterling Web Application - An Overview.................................... 5 Prerequisites to Localizing the Sterling Web Application............................... 5 Localize Resource Bundles......................................................... 6 Localize the Factory Setup Data..................................................... 9 Index 10 Sterling Commerce, Inc. 3

Sterling Commerce, Inc. 4

Localizing the Sterling Web Application - An Overview Sterling Web is an internationalized application, which can be used by users from different locales to perform tasks such as viewing item details, placing orders, and so on. In such a scenario, it is important to localize the user interface components of the application in the language and format that is specific to a user s locale. It is also important to ensure that the fixed descriptive text displayed in the user interface (UI) fits the Web page area assigned to it. The Sterling Web application enables you to create different Web sites for different storefronts by defining a UI theme specific to each storefront. However, you cannot localize storefront logos. Sterling Web supports only left to right and top to bottom text layouts. Therefore, only the languages with this orientation are supported for localization. The default locale for the Sterling Web application is en/us, which implies that the default language is English and the default country is the United States. If a UI component cannot be translated into the language of a given locale, the symbol will be displayed in US English. Sterling Web functions as a front-end to Sterling Distributed Order Management. Thus, the collection of locales supported by an instance of the Sterling Web application is assumed to be a subset of the collection of locales supported by Selling and Fulfillment Foundation. The Sterling Web application is dependent on Selling and Fulfillment Foundation for localizing the following: Payment types, credit card types, currencies, UOMs, order status and so on. Formatting of currency values, date values, and numbers. Localized promotion data, and image Uniform Resource Locators (URL). For more information about understanding the concept of localization and localizing components, refer to the Selling and Fulfillment Foundation: Localization Guide. The Sterling Web application is dependent on Business Center for localizing the following: Description and value of an item in the user interface. Information pertaining to catalogs. A user can modify the ExtnCatalogSearchConfigProperties.xml file to localize the catalog search. For more information about extending the catalog search, refer to the Selling and Fulfillment Foundation: Extending the Database Guide. For more information about localizing certain descriptions and values, refer to the Business Center: Localization Guide. Prerequisites to Localizing the Sterling Web Application Before you start localizing the Sterling Web application, ensure that you have read all the prerequisites. For more information about the prerequisites to localizing the application, refer to the Selling and Fulfillment Foundation: Localization Guide. Sterling Commerce, Inc. 5

Localize Resource Bundles A resource bundle is a file that comprises resource bundle keys and their corresponding values. The values pertaining to these resource bundle keys are translated as part of localization. Each field in the user interface (UI) has a key associated with it. To display the translated literal for a field in the UI, the localized value of the key associated with the field is fetched from the bundle file. A property resource bundle is a collection of property files that are accessed as Java resources. Sterling Web uses Java Property Resource Bundles for all the fixed text displayed, such as descriptive text, labels, buttons, tool tips, image alternative (alt) text, and error messages. In Sterling Web, resource bundles are named as package.properties. These resource bundles reside in the nnel directory. You can use the package.properties file to localize the following: Error and warning messages displayed on the user interface. Descriptions pertaining labels, panels and headings displayed in the user interface. Sentences displayed in the user interface. Dynamic data within a literal. For example, the user interface may have to display a literal that informs a user that an input value cannot exceed a certain number of characters, and that the number of characters is dynamic. In this case, if the maximum character length for a description is set at 428 characters, 428 is the value of the parameter. The corresponding bundle entry is defined as "b_maxcharlengthexceeded":"the value cannot exceed {0} characters". Note: As per Sterling Web localization specifications, translators can increase the width of values in the package.properties file by an additional 25% and expect the page to look reasonable. If the field length is increased beyond 25%, other JSP level customizations may be necessary. The sic_resourcebundles.jar and swc_resourcebundles.jar files are provided to a third party for translation. These files are in Java ARchive (JAR) file format and contain a collection of text files organized in a directory structure. The sic_resourcebundles.jar file comprises files pertaining to the Sterling Configurator and the swc_resourcebundles.jar file comprises files pertaining to Sterling Web. Each of these files is a property resource file. Together, these files contain the keys required to translate the literals in the Sterling Web pages, and their language-specific translation. Duplicate keys can exist between the files, but ensure that there are no duplicate literals within a file. A user can localize the Option Class, Option Item and all the components pertaining to the Visual Modeler application that are bundled in a model XML. For more information about Visual Modeler localization, refer to the Visual Modeler: Application Guide. The property file contained in a JAR file is the base file for each resource bundle. If the localized resource bundle file cannot be located, the system will use the property file contained in the JAR file. This property file will contains the United States (US) English mapping for each key. This file is named according to the resource bundle name with the.properties extension. For example, nnel/orders/package.properties is the name of the base property file for the orders package resource bundle. The translated files have the same name, but the locale name is interposed between the resource bundle name and the.properties extension. Thus, nnel/orders/package_fr.properties is the name of the French language property file for the orders package resource bundle, and Sterling Commerce, Inc. 6

nnel/orders/package_fr_ca.properties is name of the French language, Canada property file for the same package. The following table describes the folders where the translated package.properties files are placed: Folder nnel/orders/ nnel/profile/ nnel/catalog/ nnel/ nnel/profile/org nnel/profile/user Folder Content Literals pertaining to orders and carts. Literals pertaining to user profile Literal pertaining to catalog Literal used commonly across Sterling Web Literals pertaining to organization Laterals pertaining to users Sterling Web supports all the Java resource bundle localization techniques. Java resource bundle localization defines a locale by language, country, and region. However, it is recommended that you localize a resource bundle file to the broadest category. For example, instead of creating a translation for French/France (fr_fr), create a translation for French (fr) only. This translation is equally applicable in France, Canada, Switzerland, Niger, Algeria, Mali, and so on, where French is spoken. For country-specific terms that differ from this translation, smaller translation files can be created. To localize a resource bundle file in the JAR file: 1. Extract the package.property files from the swc_resourcebundles.jar file and save them in a temporary folder. 2. Extract the package.property files from the sic_resourcebundles.jar file and save them in a temporary folder. 3. Each resource bundle contains a <key>=<value> pair, where key is the resource key and value is the literal displayed for the corresponding locale. Replace <value> with the translated value. 4. Save the modified file. If the file is in UTF-8 format, convert it to ASCII by running the native2ascii command as follows: native2ascii -encoding UTF-8 <source file> <target file> 5. The translated file should be renamed in the following format: package_<2 letter code for language as given by ISO 639>_<2 letter code for territory as given by ISO 3166>.properties Here, <2 letter code for territory as given by ISO 3166> is required only if the translation is specific to a language and a country. 6. Create a JAR file of the files that have been translated in the context of Sterling Web. Sterling Commerce, Inc. 7

7. Run the following command to install the JAR file: For Windows: install3rdparty.cmd For Linux and UNIX install3rdparty.sh For more information about installing third-party JAR files, refer to the Selling and Fulfillment Foundation: Installation Guide. 8. Create a JAR file of the files that have been translated in the context of Sterling Configurator. 9. Run the following command to install the JAR file: For Windows: install3rdparty.cmd For Linux and UNIX: install3rdparty.sh For more information about installing third-party JAR files, refer to the Selling and Fulfillment Foundation: Installation Guide. 10. Rebuild the Sterling Web Enterprise ARchive (EAR). For more information about localizing resource bundles, refer to the Selling and Fulfillment Foundation: Localization Guide. Sterling Commerce, Inc. 8

Localize the Factory Setup Data Along with storing your transactional data, the Sterling Web database also stores configuration data such as error codes and item descriptions of various attributes. This implies that the database must store values in a language-specific format. If these database literals are not localized, screen literals are displayed inconsistently, with some being displayed in the language of localization, and others being displayed in English. The SWC_L10N.zip file that is provided in the Sterling Web installation CD comprises swcfclierals2translate.properties file. This file contains all the Sterling Web literals that need to be localized. To localize the literals: 1. Rename the swcfcliterals2translate.properties file as en_us_swcfclocalizedstrings_<language>_<country>.properties. For example, in the case of French customers, swcfcliterals2translate.properties should be renamed as en_us_swcfclocalizedstrings_fr_fr.properties, where fr indicates the language, that is, French, and FR indicates the country, France. 2. Copy the en_us_swcfclocalizedstrings_<language>_<country>.properties file to the <INSTALL_DIR>\installed_data\swc\components\complete_installation\factoryse tup\xmls\<language>_<country> folder. 3. To import the data from the en_us_swcfclocalizedstrings_<language>_<country>.properties file to the database, the localizedstringreconciler.xml tool is used. For more information about this tool, refer to the Selling and Fulfillment Foundation: Localization Guide. Note: While running the localizedstringreconciler.xml tool in the import mode, pass the -Dbasefilename= swcfclocalizedstrings attribute as follows: sci_ant.sh -f localizedstringreconciler.xml import -Dsrc=<INSTALL_DIR>/installed_data/swc/components/complete_installation/fac torysetup/xmls/<language>_<country> -Dbasefilename=swcfclocalizedstrings After localizing the factory setup data, you must load the Selling and Fulfillment Foundation language pack translations. For more information about loading the language pack translations, refer to the Selling and Fulfillment Foundation: Installation Guide. Sterling Commerce, Inc. 9

Index an overview 5 localizing factory setup data 9 resource bundles 6 A L Sterling Commerce, Inc. 10