TapiJIRefactoring support and the TapiJI online Translator          INSO - Industrial Software          Institut für Rechn...
Outline1   The TapiJI project2   Refactoring of resource references3   Stand-alone translation tools4   Whats next / Futur...
Outline1   The TapiJI project2   Refactoring of resource references3   Stand-alone translation tools4   Whats next / Futur...
The TapiJI project - VisionMake I18N more convenient for agile software development  ▪ Consider I18N as integral part of i...
TapiJI Tool SuiteArchitecture  ▪ Extends the Eclipse IDE with smart Internationalization helps  ▪ Integrates with the exis...
TapiJI Tool SuiteFeature overview  ▪ Reporting of I18N problems  ▪ Quick Fix support for semi-automatically resolving repo...
TapiJI Tool Suite - Babel contributionParts contributed to the Eclipse Babel project  ▪ TapiJI specific enhancements of Me...
Outline1   The TapiJI project2   Refactoring of resource references3   Stand-alone translation tools4   Whats next / Futur...
Refactoring supportRefactoring of Resource Bundle keys  ▪ Proposal Context menu of Resource Bundle view  ▪ Context menu in...
Refactoring support                      10
Live Demo            11
Outline1   The TapiJI project2   Refactoring of resource references3   Stand-alone translation tools4   Whats next / Futur...
TapiJI TranslatorAssists translation personellStand-alone application for editing Resource-Bundleswithout the knowledge of...
RCP Translator                 14
RAP TranslatorAdditional features in contrast to RCP translator  ▪ Web application      No local installation required   ...
Live Demo            16
RAP TranslatorStorage Management  ▪ Eclipse workspace used as storage location  ▪ Each user has his own project     User ...
Outline1   The TapiJI project2   Refactoring of resource references3   Stand-alone translation tools4   Whats next / Futur...
Future EnhancementsInternationalization workflow  ▪ Development and Evaluation of a best practice I18N process  ▪ Adapt to...
Future EnhancementsCal10n Support ▪ Enhance Tool Suite with support for Compiler assisted L10N ▪ Resource keys are mapped ...
Questions & Answers                      21
Links / References / DocumentationProject page @EclipseLabs  ▪ http://code.google.com/a/eclipselabs.org/p/tapiji/wiki/Over...
Upcoming SlideShare
Loading in …5
×

I18N refactoring support and the TapiJI online translator

615 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
615
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

I18N refactoring support and the TapiJI online translator

  1. 1. TapiJIRefactoring support and the TapiJI online Translator INSO - Industrial Software Institut für Rechnergestützte Automation | Fakultät für Informatik | Technische Universität Wien
  2. 2. Outline1 The TapiJI project2 Refactoring of resource references3 Stand-alone translation tools4 Whats next / Future work5 Links / References / Documentation 2
  3. 3. Outline1 The TapiJI project2 Refactoring of resource references3 Stand-alone translation tools4 Whats next / Future work5 Links / References / Documentation 3
  4. 4. The TapiJI project - VisionMake I18N more convenient for agile software development ▪ Consider I18N as integral part of initial development ▪ Reduce effort of corresponding tasks ▪ Reduce the risk of bugs in the initial translation ▪ Highlight missing Internationalizations and provide Quick FixesAssist process of resource translation ▪ Provide application for resource translation ▪ Allow to edit Resource Bundle without file format conversion ▪ Integrated into the dev tool landscape and process ▪ Assist cooperative translation work 4
  5. 5. TapiJI Tool SuiteArchitecture ▪ Extends the Eclipse IDE with smart Internationalization helps ▪ Integrates with the existing Babel Messages Editor ▪ Assists developers during day-to-day coding work ▪ Provides an extensible architecture Java ext. RB ext. JSF ext. … TapiJI Tools Core plug-ins Editor Enhancements Eclipse Babel Messages Editor Eclipse IDE 5
  6. 6. TapiJI Tool SuiteFeature overview ▪ Reporting of I18N problems ▪ Quick Fix support for semi-automatically resolving reported problems ▪ Marking configuration strings with NON-NLS comments ▪ Generation of Resource Bundle references ▪ Live preview of resource definitions ▪ Refactoring support for Resource Bundle references ▪ Resource Bundle view/explorer 6
  7. 7. TapiJI Tool Suite - Babel contributionParts contributed to the Eclipse Babel project ▪ TapiJI specific enhancements of Messages Editor ▪ The Tool Suite‘s core plug-ins ▪ Java and RB extension plug-ins Java ext. RB ext. JSF ext. … TapiJI Tools Core plug-ins Editor Enhancements Eclipse Babel Messages Editor Eclipse IDE 7
  8. 8. Outline1 The TapiJI project2 Refactoring of resource references3 Stand-alone translation tools4 Whats next / Future work5 Links / References / Documentation 8
  9. 9. Refactoring supportRefactoring of Resource Bundle keys ▪ Proposal Context menu of Resource Bundle view ▪ Context menu in Babel Messages editor ▪ Short cutFeatures ▪ Consistently modifies resource references ▪ Provides preview for inspecting refactoring changes ▪ Cal10n Refactoring support ▪ Abstract Syntax Tree (AST) & Visitor pattern 9
  10. 10. Refactoring support 10
  11. 11. Live Demo 11
  12. 12. Outline1 The TapiJI project2 Refactoring of resource references3 Stand-alone translation tools4 Whats next / Future work5 Links / References / Documentation 12
  13. 13. TapiJI TranslatorAssists translation personellStand-alone application for editing Resource-Bundleswithout the knowledge of a programming languageGeneric translator with two platform specificimplementations ▪ RCP based single-user translator ▪ RAP based multi-user translator 13
  14. 14. RCP Translator 14
  15. 15. RAP TranslatorAdditional features in contrast to RCP translator ▪ Web application  No local installation required  Always up-to-date  Multiple users ▪ Upload & Download of Resource-Bundles ▪ Simple user management ▪ Resource-Bundles are stored and maintained on the server ▪ Each user has an overview of his bundles ▪ File sharing  Simultaneous translation of Resource-Bundles 15
  16. 16. Live Demo 16
  17. 17. RAP TranslatorStorage Management ▪ Eclipse workspace used as storage location ▪ Each user has his own project  User projects (name == username)  Temporary projects (name == session id) ▪ Resource Bundles are stored as project resourcesExample 17
  18. 18. Outline1 The TapiJI project2 Refactoring of resource references3 Stand-alone translation tools4 Whats next / Future work5 Links / References / Documentation 18
  19. 19. Future EnhancementsInternationalization workflow ▪ Development and Evaluation of a best practice I18N process ▪ Adapt tool suite for supporting the developed workflowMylyn integration ▪ Allow the creation of Internationalization tasks ▪ SCM/Diff integration to communicate change setsIntegration of mobile frameworks ▪ Allows the Internationalization of mobile Applications ▪ Planned for Android and iOS 19
  20. 20. Future EnhancementsCal10n Support ▪ Enhance Tool Suite with support for Compiler assisted L10N ▪ Resource keys are mapped to enum valuesIntegration of message and number formatters ▪ Use ICU4J provided features for encoding and formatting ▪ Enables target language specific formatting of messages, numbers, currency, …RAP Translator enhancements ▪ Optional GIT integration for user and storage management ▪ Translation glossary ▪ Event-driven user notification 20
  21. 21. Questions & Answers 21
  22. 22. Links / References / DocumentationProject page @EclipseLabs ▪ http://code.google.com/a/eclipselabs.org/p/tapiji/wiki/Overview ▪ Demo Video: http://www.youtube.com/watch?v=9gDQeeIR5eU ▪ User & development documentation: http://code.google.com/a/eclipselabs.org/p/tapiji/wiki/OverviewProject page @Babel ▪ http://www.eclipse.org/projects/project.php?id=technology.babel ▪ Messages Editor: http://www.eclipse.org/babel/messages_editor/ 22

×