IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica.

Slides:



Advertisements
Similar presentations
COP 3530 JDK Environment Variables. COP 3530 JDK Environment Variables Environment Variables Environment variables are a set of dynamic values that can.
Advertisements

MS-Word XP Lesson 1.
MySQL Installation Guide. MySQL Downloading MySQL Installer.
Setting up Eclipse PSC 120 Jeff Schank. Outline Find our user account Create “PSC120” Folder Create a “workspace” folder Link it to Eclipse Install Mason.
Presentation Heading – font Arial
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Web Application Server Apache Tomcat Downloading and Deployment Guide.
© 2010 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Introduction to Java IEEM241 Routing and Fleet Management Feb 3, 2005.
Using the Class Dependency Analyzer for OODT By Joshua Garcia.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Go to the link ( as shown, then choose downloads.
Module 6 Windows 2000 Professional 6.1 Installation 6.2 Administration/User Interface 6.3 User Accounts 6.4 Managing the File System 6.5 Services.
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
Command Console Tutorial BCIS 3680 Enterprise Programming.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
SERVLETS.
Installing Tomcat on Windows  You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations.  You.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
So – You want to learn how to put an advanced article submission (cut and paste) onto the state website. (Note: If you have not done so, you will need.
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Objectives Define IP Address To be able to assign an IP address with its Subnet Mask and Default Gateway to a PC that operates using Windows 7 or Fedora.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
How to Download and Install a Print Driver on a Windows PC.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Project 1: Creating a Dreamweaver Web Page and Local Site 1 Project Objectives Add a background image Open and close panels Display and describe the Property.
Subversion Code Deployment LifeCycle August 2011.
CIS 205—Web Design & Development Dreamweaver Chapter 1.
UCSC All rights reserved. No part of this material may be reproduced and sold. 1 IT1202-Fundamentals Of Programming (Using JAVA) Interacting with.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
Basic Setup Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Installation and Testing.
COP 3330 Notes 1/12. Today's topics Downloading Java and Eclipse Hello World Basic control structures Basic I/O Strings.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Version Control Menggunakan TortoiseSVN
Project Deployment IT [211 CAP] How to convert your project to a full application.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Welcome to java installation. After download java software, assuming you downloaded jdk1.7.0_11 Follow the procedure bellow to install java.
Proxy Installer for Windows Squid: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response.
SAFARI ODBC INSTALLATION Go to the TRECA home WEB page.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Images Worksheet. Web template Download the template folder Unzip and save in your documents Rename the folder to “images work” without quotes.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Installing MySQL BCIS 3680 Enterprise Programming.
Package & Deploy. OBJECTIVES Package Deploy Way to package.
When collaborating, it is important to manage changes in the models. For example: –To create or edit a submodel E.g. Habitat suitability is replaced with.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
Unit 1 – Web Concepts Instructor: Brent Presley.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
Subversion (SVN) is a widely used version control system and an essential piece of the MIMES collaborative modeling environment. It allows us to manage.
1 /17 Installing and Configuring TaxWise © 2006, Universal Tax Systems, Inc. All Rights Reserved. Installing and Configuring TaxWise Objectives –In this.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
 CSC 215 : Procedural Programming with C C Compilers.
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
Using a template to create a document
An Introduction to Computers and Visual Basic
An Introduction to Computers and Visual Basic
How to install the Enterprise Agent using Active Directory
Cheat Sheet CSCI 100 JW Ryder
Cheat Sheet CSCI 100 JW Ryder
An Introduction to Computers and Visual Basic
Review of Previous Lesson
Presentation transcript:

IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica

Outline User Interface Localization –Attesoro – Customization –Webpage customization –Extension customization (advanced users only) 2

Getting started In the case of the IPT all text is kept in a single property file, one for each language. The original is in English and you can translate it into another language. 3

Getting started Download the English default properties file from the gbif-ipt project site. ipt/src/main/resources/ApplicationResources_en.properties Rename from “ ApplicationResources_en.properties “ to “ApplicationResources.properties” 4

Using Attesoro Download Attesoro from Attesoro is a Java program. If you browse the Internet, you probably have had the Java Virtual Machine installed on your PC; otherwise you can download it from : Once the Java Virtual Machine is installed, with most operating systems, you can run Attesoro by double clicking on its icon. 5

select the File->Open menu item and open the ApplicationResources.properties file downloaded from the gbif-providertoolkit project site 6 Open default properties file File Name: File Type : open cancel

7 Create your language file To add a new locale select Locale/New in the Edit menu. Attesoro will display a list of the possible Locales.

8 Create your language file submit cancel

the list of locales 9 Create your language file

10 Translate text Select a properties key Default Text

11 Translate text Enter or edit the value of the property in the text box

12 Save Translated File

Interface customization 13

Interface customization

Step1: open the “\WEB-INF\pages\inc” folder under your IPT root folder; then open menu.ftl file. Step2: modify the source code, like below

16 Insert html code

17 The Canadensys repository is the first registered IPT in Canada and the first customized IPT in the world.

Advanced users Requirements –Java SE –Apache maven –TortoiseSVN Software development environment –Eclipse Download source code Command-line access svn checkout gbif- providertoolkit-read-only

Installing Maven Add the bin directory to your PATH, eg: –Windows 2000/XP –set PATH="c:\program files\apache-maven- 3.0.x\bin";%PATH% Make sure JAVA_HOME is set to the location of your JDK –JAVA_HOME –C:\Program Files\Java\jdk1.6.0_25\jre

Using Eclipse to import the IPT Source code

Select the source code folder

23

Run the following command in a Terminal window mvn clean //clean all cache mvn package //create a new war file Before reinstalling the IPT, you have to backup your IPT Data folder.

Thank You!