copyright © ibm corp., 2008. introduction to the eclipse™ babel project kit lo ibm™ corporation

15
Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Upload: amos-day

Post on 14-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.

Introduction to the Eclipse™ Babel Project

Kit Lo

IBM™ Corporation

Page 2: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.2

Introduction

• Eclipse is a global community• It is in everyone’s interest to ensure that Eclipse is globalized and

translated in as many languages as possible• Globalization is more than just translating strings• The goal of the Babel project is to provide a set of tools to make the

job of globalizing Eclipse projects easier• We also want to provide ways for people worldwide, who are

interested, to contribute translations in their language of choice• We need your help to make Eclipse a worldwide success! Let’s Babel!

Page 3: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.3

Typical Development Process

Java™ Program

label = “Save”;

Java Program

label = Messages.getString(“save_key");

English Properties File

save_key = Save

French Properties File

save_key = Sauvegarder

plugin.zip

nlpack.zip

Plug-ins+

NL packs

Stringexternalization

Codebuild

translate

NLbuild

Page 4: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.4

Where Eclipse Babel Project Comes In

Java™ Program

label = “Save”;

Java Program

label = Messages.getString(“save_key");

English Properties File

save_key = Save

French Properties File

save_key = Sauvegarder

plugin.zip

nlpack.zip

Plug-ins+

NL packs

Stringexternalization

Codebuild

translate

NLbuild

#1

#3

#2

#4

Page 5: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.5

Eclipse Babel Project Tools - #1

Babel Translation Server• Wiki-like server where any Eclipse user with

an Eclipse Bugzilla ID may login and help translate Eclipse

• http://babel.eclipse.org/babel/

Page 6: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.6

Eclipse Babel Project Tools - #1 Babel Translation Server

Page 7: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.7

Eclipse Babel Project Tools - #2

Babel Nightly Language Packs• The Eclipse Babel Project produces nightly

language packs from the translations entered into the Eclipse Babel Project Translation Server

• Use this Babel Language Pack Update Site to download the language packs: http://download.eclipse.org/technology/babel/update-site/

Page 8: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.8

Eclipse Babel Project Tools - #2Babel Nightly Language Packs

Page 9: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.9

Eclipse Babel Project Tools - #3

Babel Message Editor• Edit Java resource bundles• Manage all localized properties files in one

editor• Key features:

sorted keys warning icons on missing keys or values conversion to or from Unicode hierarchical view of keys

Page 10: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.10

Eclipse Babel Project Tools - #3Babel Message Editor

Page 11: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.11

Eclipse Babel Project Tools - #4

Babel Runtime Translation Editor• Plug-in for IDE or RCP applications• Editor is context sensitive• Translate what the user sees on the screen at

runtime• Hide details such as the key and the plug-in that

contributed the message• Instant feedback

Page 12: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.12

Eclipse Babel Project Tools - #4Babel Runtime Translation Editor

Page 13: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.13

Project Links

• Eclipse Babel Project home page: http://www.eclipse.org/babel/

• Babel Translation Server home page: http://babel.eclipse.org/babel/

• Eclipse Globalization Guidelines:http://wiki.eclipse.org/Eclipse_Globalization_Guidelines

Page 14: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.14

Eclipse Babel Project Events at EclipseCon 2008

• Eclipse Babel Project Committers Working SessionMonday, 17:00, 1 hour | Hyatt Regency Santa Clara Lobby Lounge

• Introduction to the Eclipse Babel ProjectEmerging Technologies · Short TalkWednesday, 13:30, 10 minutes | Room 203/204

• The Eclipse Babel Project Translation ServerEmerging Technologies · Short TalkWednesday, 13:50, 10 minutes | Room 203/204

• Discussion of the Eclipse Babel ProjectEmerging Technologies · Birds Of A FeatherWednesday, 19:30, 1 hour 15 minutes | Room 206

Page 15: Copyright © IBM Corp., 2008. Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation

Copyright © IBM Corp., 2008.15

Legal NoticesCopyright © IBM Corp., 2008. All rights reserved. Source code in this presentation is made

available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

Eclipse and the Eclipse logo are trademarks of Eclipse Foundation, Inc.

IBM and the IBM logo are trademarks or registered trademarks of IBM Corporation, in the United States, other countries or both.

Java and all Java-based marks, among others, are trademarks or registered trademarks of Sun Microsystems in the United States, other countries or both.

Other company, product and service names may be trademarks or service marks of others.

THE INFORMATION DISCUSSED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION, IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, AND IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, SUCH INFORMATION. ANY INFORMATION CONCERNING IBM'S PRODUCT PLANS OR STRATEGY IS SUBJECT TO CHANGE BY IBM WITHOUT NOTICE.