Introduction to the Eclipse™ Babel Project
Kit Lo
IBM™ Corporation
Copyright © IBM Corp., 2008.
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!
2
Copyright © IBM Corp., 2008.
Typical Development Process
Java™ Program
String
externalization
Code
build
Java Program
plugin.zip
label = “Save”;
label = Messages.getString(“save_key");
English Properties File
Plug-ins
+
NL packs
save_key = Save
translate
French Properties File
NL
build
nlpack.zip
save_key = Sauvegarder
3
Copyright © IBM Corp., 2008.
Where Eclipse Babel Project Comes In
#3
Java™ Program
String
externalization
Code
build
Java Program
plugin.zip
label = “Save”;
label = Messages.getString(“save_key");
#1
#4
English Properties File
Plug-ins
+
NL packs
save_key = Save
translate
#2
French Properties File
NL
build
nlpack.zip
save_key = Sauvegarder
4
Copyright © IBM Corp., 2008.
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/
5
Copyright © IBM Corp., 2008.
Eclipse Babel Project Tools - #1
Babel Translation Server
6
Copyright © IBM Corp., 2008.
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/
7
Copyright © IBM Corp., 2008.
Eclipse Babel Project Tools - #2
Babel Nightly Language Packs
8
Copyright © IBM Corp., 2008.
Eclipse Babel Project Tools - #3
Babel Message Editor
• Edit Java resource bundles
• Manage all localized properties files in one
editor
• Key features:




9
sorted keys
warning icons on missing keys or values
conversion to or from Unicode
hierarchical view of keys
Copyright © IBM Corp., 2008.
Eclipse Babel Project Tools - #3
Babel Message Editor
10
Copyright © IBM Corp., 2008.
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
11
Copyright © IBM Corp., 2008.
Eclipse Babel Project Tools - #4
Babel Runtime Translation Editor
12
Copyright © IBM Corp., 2008.
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_Guideline
s
13
Copyright © IBM Corp., 2008.
Eclipse Babel Project Events at EclipseCon 2008
• Eclipse Babel Project Committers Working Session
Monday, 17:00, 1 hour | Hyatt Regency Santa Clara Lobby Lounge
• Introduction to the Eclipse Babel Project
Emerging Technologies · Short Talk
Wednesday, 13:30, 10 minutes | Room 203/204
• The Eclipse Babel Project Translation Server
Emerging Technologies · Short Talk
Wednesday, 13:50, 10 minutes | Room 203/204
• Discussion of the Eclipse Babel Project
Emerging Technologies · Birds Of A Feather
Wednesday, 19:30, 1 hour 15 minutes | Room 206
14
Copyright © IBM Corp., 2008.
Legal Notices
Copyright © 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.
15
Copyright © IBM Corp., 2008.
Descargar

Document