How to Translate a Visual Composer Model Part I

Similar documents
Visual Composer - Task Management Application

MDM Syndicator Create Flat Syndication File

Web Page Composer anonymous user access

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

Consuming Web Dynpro components in Visual Composer.

Cache Settings in Web Page Composer

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

What s New / Release Notes SAP Strategy Management 10.1

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

configure an anonymous access to KM

Enterprise Portal Logon Page Branding

Do Exception Broadcasting

Visual Composer Build Process

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

Install TREX for CAF Version 1.00 March 2006

How to Use Function Keys in Mobile Applications for Handhelds

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

How to Set Up and Use the SAP OEE Custom UI Feature

How-To... Add Sensitive Content into an Area

How To... Reuse Business Objects and Override Operations of a Business Object

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

Integrate a Forum into a Collaboration Room

link SAP BPC Excel from an enterprise portal Version th of March 2009

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

How To Extend User Details

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

SAP NetWeaver How-To Guide

View Time Security for crystalreports.com

How to Browse an Enterprise Services Registry in Visual Composer

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

How to Create a New SAPUI5 Development Component

How To... Promote Reports and Input Schedules Through Your System Landscape

SAP Composite Application Framework. Creating a Content Package Object

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

Building a Tax Calculation Application

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

Introducing SAP Enterprise Services Explorer for Microsoft.NET

Simplified Configuration of Single System Update in Maintenance Optimizer

How To...Configure Integration of CUP with SPM

How To... Configure Integrated Configurations in the Advanced Adapter Engine

How To Troubleshoot SSL with BPC Version 1.01 May 2009

Configure SSO in an SAP NetWeaver 2004s Dual Stack

Process Control 2.5 Implementation Checklist

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

Value Help in Web Dynpro ABAP - Tutorial.

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

Setting up Single Sign On Between xmii and Enterprise Portal

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

How To Customize the SAP User Interface Using Theme Editor

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

Monitoring System Landscapes Using the DBA Cockpit

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

Installation Guide Business Explorer

Setting Up an Environment for Testing Applications in a Federated Portal Network

Working with Select Options in Web Dynpro for ABAP

How To... Master Data Governance for Material: File Down- and Upload

How To Generate XSD Schemas from Existing MDM Repositories

xmii UDS Overview and Troubleshooting

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

MODULE 2: CREATE A DECISION TABLE USING RULES COMPOSER (BRM)

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

How To Configure IDoc Adapters

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks

SAP NetWeaver How-To Guide

SAP NetWeaver 04. Unification Terminology

Extract Archived data from R3

Create Monitor Entries from a Transformation routine

How-to Guide SAP NetWeaver 04. Web Dynpro Themes. Version Applicable Releases: SAP NetWeaver 7.0

Extracting Product Attributes in XML using Web Service

Tutorial: Consuming Web Services in Web Dynpro Java

Consuming Directory API in ABAP

How To Set Up and Use the SAP ME Work Instructions Feature

Configure Peripheral Drivers with Mobile Infrastructure

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

Best Practices Using KMC Capabilities in an External Facing Portal Version 1.00 October 2006

How to Use Definitions in Rules Composer

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer

Create Monitor Entries from an update routine

Web Dynpro Java for Newbies: a Quick Guide to Develop Your First Application

Business Rules Framework plus Workbench

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

Setup an NWDI Track for Composition Environment Developments

How To... Use the BPC_NW Mass User Management Tool

Using Tools to Represent Appraisal Status Flow (HR module Objectives Settings and Appraisals ) as Diagram

How to Use Other Conditions in Decision Tables in Rules Composer

What's New in the DBA Cockpit with SAP NetWeaver 7.0

Visual Composer for SAP NetWeaver Composition Environment - Connectors

Simplifying the Capturing, Evaluation, and Communication of Class-Based Exceptions

Modify the Portal Framework Page in SAP EP 6.0

Integrating a Web Service in a Composite Application. SAP Composite Application Framework

Transcription:

How to Translate a Visual Composer Model Part I Applies to: SAP NetWeaver Visual Composer. Summary This How To guide is the first part in a series of guides which explain how to create and maintain translations for UI strings in iviews modeled in Visual Composer. This guide explains how to translate an iview using the Portal Translation Worklists. We will learn how to create a translation work list, populate it and publish our translation. *** All standard plain texts in the model such as field labels, button labels and tooltips are entered automatically into the translation lists. However, dynamic text such as field values cannot be entered. In the next guides I will explain how to translate formulas with strings and how to maintain a model with translation. Author: Shay Gold Company: SAP Created on: 9 July 2007 Author Bio Shay Gold is a Math and Physics B.Sc student at the Hebrew University of Jerusalem and is part of the Visual Composer QA Team. 2007 SAP AG 1

Table of Contents Introduction... 3 Modeling an Application to be Translated in Visual Composer... 4 Adding the Nested iview to the Model Folder in the Portal Content... 7 Translating the Model using the Portal Translation Worklist... 10 Creating the Translation Worklist...10 Populating a translation worklist... 11 Model Translation... 13 Publish the Translation... 15 Related Content... 18 Copyright... 19 Copyright... 19 2007 SAP AG 2

Introduction You can translate Visual Composer models by using the standard portal translation worklists mechanism. But first, you need to understand what happens when you deploy a model created in Visual Composer to the portal to which you are connected. The models are deployed as Portal Archive (PAR) packages, and are stored in the Visual Composer folder in the Portal Content Directory (PCD). In addition, a folder with a representation of the model primary iview is created in the content administration section. (Content Administration -> Portal Content. Browse Tab -> Portal Content -> Visual Composer -> Models -> Your model folder). You will use these representations for the translation process. Notice that Nested iviews, popups and value helps representations are not automatically added to the model folder in the Portal Content. If your model includes one of this, you need to add their representations manually. You can find a detailed explanation of how to do it in the next two paragraphs. 2007 SAP AG 3

Modeling an Application to be Translated in Visual Composer This paragraph explains the necessary actions you need to perform in Visual Composer before translating a model. Create a Visual Composer model. For this article I created a model (Translation_Demo) which consists of a data service, input form, output table and a nested iview with a form. Translation_Demo Model - Translation_Demo Layout - 2007 SAP AG 4

As mentioned at the first paragraph, the representation of the Visual Composer model in the Portal Content section, automatically includes the model primary iviews but not the nested iview. In order to manually add the nested iview to the folder, you need to know the iview ID. You can find the ID by drilling-down the nested iview and selecting the Configure task panel. At the lower right corner of the configure task panel you can find the label REF: AAD735, this is the ivies ID. Remember the ID, you will later need it for adding the iview to the Portal Content folder. Do the same for any nested iview, popups and value helps you have in your model. Navigate to tools menu -> Options -> Compiler tab and check that the Generate Translation Info file option is selected. This option creates two translation files when the models are compiled: localization.properties with all the string identifiers and raw text from the model. package_lang.info - a portal-like translation worklist file, including the portal UI-string classification codes. 2007 SAP AG 5

Select also the Deploy model with PAR option. This option is important in case you want to be able to modify an already translated model and will enable you to open the model in storyboard directly from the portal and redeploy it with the changes. (I will show exactly how to modify an existing model and translate it in the next article). 2007 SAP AG 6

Adding the Nested iview to the Model Folder in the Portal Content After deploying the model to the portal, we can find the primary iview representation in the Portal Content section under Translation_Demo folder -> iviews. We can see that the iviews folder includes a representation for the Primary iview but not the Nested iview. We want to translate the nested iview as well, so we will now add it manually to the folder: Right-click the iviews folder and open the context menu. In the context menu, choose new -> iview. This will open the iview wizard. In the iview Wizard select the Portal Component radio button and click on the Next button (at the bottom of the page). 2007 SAP AG 7

Select the nested iview from the Portal Archive Selection list. You can easily find the iview according to its ID and name. (In this case 735.Nested_iView). And then click Next. Select the Portal Component (equal to the REF ID) and click Next. 2007 SAP AG 8

Give the nested iview a Name and ID and click Next. At the next window click Finish and then OK to close the wizard. That s it, a new nested iview representation is added to the model folder. You can add more instances to the folder in the same way. 2007 SAP AG 9

Translating the Model using the Portal Translation Worklist Creating the Translation Worklist Navigate to Content Administration -> Portal content Translation -> Translation Worklist Coordination. We would like to have the model and the translation worklist in the same folder, for that Browse Portal Content -> Visual Composer -> Models. Right-click the model s folder and select New -> Translation Worklist. In the Translation Worklist Wizard enter a Name and ID for the worklist and click Next, Finish and OK (OK for opening the worklist for editing). 2007 SAP AG 10

Populating a translation worklist When the Translation Worklist is open, right-click the element you want to add, and choose Add object to translation worklist. You can also right-click a folder and choose to add all objects to the worklist. In the Translation Worklist property editor, select the Translation Worklist Settings from the property category dropdown list. Select Yes for the Resolve References property. This property creates a text-container object named localization for each iview. What enables us to translate the model labels, and not only its metadata. Click Save. 2007 SAP AG 11

Click the Generate Translation Data button. Verify that the localization records appear in the translation worklist preview. In this example we have two localization elements, one for the primary iview and one for the nested iview. 2007 SAP AG 12

Click the Release for Translation button (at the bottom of the Translation Worklist Preview window). The status of the translation worklist will change to "Released for Translation". From that point you can t add new objects to the worklist. Model Translation In the detailed navigation, click on the Worklist translation link and search for your worklist. Notice that the worklist won t appear if it wasn t released as explained in the prior step. Select your worklist from the list and drill down the page. 2007 SAP AG 13

Set the source language to raw texts (the source text will appear as it appears in the model) and the target language to German and click Load for Translation. In the Translatable Text window, enter a target text for the given strings. Notice that you can translate the model labels (Object ID starts with pcd:com ) and metadata (Object ID starts with pcd:portal ). Be aware that translating the metadata, such as the folder name might make it difficult to trace later. Use the Save All button to save the translation and then click Close. (Important note If you click one of the navigation buttons (marked in red, at the bottom of the table) after you translate a string, it won t save your translation for this string. You can either click save before navigating or click on another string s radio button). 2007 SAP AG 14

After adding you target text, click Close. This action will refer you to the previous window. Select the worklist and click Mark as Translated. The worklist status will change accordingly. Publish the Translation In the detailed navigation, select Translation Worklist Coordination and find your worklist. You can drill down to its location or use the search function. Open the worklist and click Publish Translation. 2007 SAP AG 15

To see the translated iview, navigate to Content Administration -> Portal Content. Browse, Portal Content -> Visual Composer -> Models -> Translation_Demo -> iviews. Right-click the Primary iview and choose preview. The model appears in English. In order to change the portal language settings, return to the portal and click the Personalize link (on the top right corner of the portal page). A popup window appears. In the Detailed Navigation pane Choose User Profile (If the option doesn t appear click the Expand Tray button to the right of the Detailed Navigation). Click modify, change the language to German and click Save. (It s recommended not to close the User Profile window so you will be easily able to change back the language to English). 2007 SAP AG 16

Refresh the preview of the model iview and get the translated iview. In the next articles I ll explain how to translate formulas and how to add translation to an already translated iview. 2007 SAP AG 17

Related Content Please include at least three references to SDN documents or web pages. Visual Composer Modeler s Guide Portal Content Translation 2007 SAP AG 18

Copyright Copyright 2007 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. Any software coding and/or code lines/strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. 2007 SAP AG 19