Difference between revisions of "2011 Summer Project Week Internationalization of Slicer"

From NAMIC Wiki
Jump to: navigation, search
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
<gallery>
 +
Image:PW-MIT2011.png|[[2011_Summer_Project_Week#Projects|Projects List]]
 +
Image:snapshot_zh.png|Chinese Version
 +
Image:snapshot_de.png|German Version
 +
Image:snapshot_hu.png|Hungarian Version
 +
Image:snapshot_ru.png|Russian Version
 +
Image:snapshot_fr.png|French Version
 +
Image:snapshot_es.png|Spanish Version 
 +
</gallery>
 +
 +
'''Full Title of Project'''
 +
  Internationalization of Slicer
 
==Key Investigators==
 
==Key Investigators==
 
* ZJUT: Luping Fang, Ping Cao
 
* ZJUT: Luping Fang, Ping Cao
Line 4: Line 17:
 
* UPenn: Daniel Haehn
 
* UPenn: Daniel Haehn
 
* Kitware: Jean-Christophe Fillion-Robin, Julien Finet
 
* Kitware: Jean-Christophe Fillion-Robin, Julien Finet
 +
* BWH: Suares Tamekue
 
* UTC: Yiming Ge
 
* UTC: Yiming Ge
 +
* University of Szeged: Attila Nagy (remote participation from Hungary)
  
  
<div st#le="margin: 20px;">
+
<div style="margin: 20px;">
<div st#le="width: 27%; float: left; padding-right: 3%;">
+
<div style="width: 27%; float: left; padding-right: 3%;">
  
 
<h3>Objective</h3>
 
<h3>Objective</h3>
  
#.The internationalization of an application is the process of making the application usable by people in countries other than one's own.The aim of this project is investigating the feasibility and approach of the internationalization of Slicer as painless as possible for Slicer and its extensions developers. Work will focus on the UI form, dynamic string display. Hopelly, the modules coded in either Python or C++ can be processed in an easily way.
+
The internationalization of an application is the process of making the application usable by people in countries other than one's own.The aim of this project is investigating the feasibility and approach of the internationalization of Slicer as painless as possible for Slicer and its extensions developers. Work will focus on the UI form, dynamic string display. Hopelly, the modules coded in either Python or C++ can be processed in an easy way.  
  
 
</div>
 
</div>
Line 19: Line 34:
  
 
<h3>Approach, Plan</h3>
 
<h3>Approach, Plan</h3>
Our approach is to based on the built-in internationalization feature of Qt, do some experiments on one UI form and two modules (one is developed by C++, the other is developed by Python) to find the localized methods applicable to Slicer 4. Finally, we hope to summarize the procedure and provide associated template.
+
Our approach is to based on the built-in internationalization feature of Qt, do some experiments on one UI form and two modules (one is developed by C++, the other is developed by Python) to find the localized methods applicable to Slicer 4. Finally, we hope to summarize the procedure and provide associated template.  
  
 
</div>
 
</div>
Line 28: Line 43:
  
 
<!-- Fill this out before Friday's summary presentations - list what you did and how well it worked. -->
 
<!-- Fill this out before Friday's summary presentations - list what you did and how well it worked. -->
 
+
1.We modified a few source codes in endoscopy module and this module can now be displayed in different language successfully.<br>
 +
2.An sample translation template file is defined. Based on it, we had 6 language translations (Chinese, German, Hungarian, Russian, French and Spanish) from 6 volunteers. Thank them for their help.<br>
 +
3.Language selection is input as an option when start Slicer. Usage: Slicer --language-select <language_code>.  The screen snapshots are attached.<br>
 +
In general, based on Qt, internationalization of Slicer can be implemented efficiently. The work of the project week gave the proof of concept.
  
 
</div>
 
</div>
Line 34: Line 52:
  
 
<div style="width: 97%; float: left;">
 
<div style="width: 97%; float: left;">
 +
 +
==References==
 +
http://www.youtube.com/watch?v=lz9deRYwNFY
 +
 +
==Delivery Mechanism==
 +
 +
<!-- List here how you plan to deliver your results to user communities -->
 +
 +
This work will be delivered to the NAMIC Kit as a
 +
 +
#Slicer Module
 +
##Built-in:

Latest revision as of 01:48, 24 June 2011

Home < 2011 Summer Project Week Internationalization of Slicer

Full Title of Project

  Internationalization of Slicer

Key Investigators

  • ZJUT: Luping Fang, Ping Cao
  • Isomics: Steve Pieper
  • UPenn: Daniel Haehn
  • Kitware: Jean-Christophe Fillion-Robin, Julien Finet
  • BWH: Suares Tamekue
  • UTC: Yiming Ge
  • University of Szeged: Attila Nagy (remote participation from Hungary)


Objective

The internationalization of an application is the process of making the application usable by people in countries other than one's own.The aim of this project is investigating the feasibility and approach of the internationalization of Slicer as painless as possible for Slicer and its extensions developers. Work will focus on the UI form, dynamic string display. Hopelly, the modules coded in either Python or C++ can be processed in an easy way.

Approach, Plan

Our approach is to based on the built-in internationalization feature of Qt, do some experiments on one UI form and two modules (one is developed by C++, the other is developed by Python) to find the localized methods applicable to Slicer 4. Finally, we hope to summarize the procedure and provide associated template.

Progress

1.We modified a few source codes in endoscopy module and this module can now be displayed in different language successfully.
2.An sample translation template file is defined. Based on it, we had 6 language translations (Chinese, German, Hungarian, Russian, French and Spanish) from 6 volunteers. Thank them for their help.
3.Language selection is input as an option when start Slicer. Usage: Slicer --language-select <language_code>. The screen snapshots are attached.
In general, based on Qt, internationalization of Slicer can be implemented efficiently. The work of the project week gave the proof of concept.

References

http://www.youtube.com/watch?v=lz9deRYwNFY

Delivery Mechanism

This work will be delivered to the NAMIC Kit as a

  1. Slicer Module
    1. Built-in: