I18N

Presentation

Internationalization is build on properties files used by Swing Application Framework.

Problem

Actually, translations are dispersed in multiples files (one per interface), which can make contribution a little bit harder.

Place

Translation files are located in followinf folder : src/main/resources/org/chorem/jtimer

For example, the class org.chorem.jtimer.JTimer has two resources files : Par exemple, la classe org.chorem.jtimer.JTimer dispose des fichiers de ressources :

  • src/main/resources/org/chorem/jtimer/resources/Jtimer.properties (en)
  • src/main/resources/org/chorem/jtimer/resources/Jtimer_fr.properties (fr)
  • etc...

Complete list

Complete list of file to transalte to add another language is:

  • resources/JTimer.properties
  • ui/tasks/resources/RunTaskJob.properties
  • ui/alert/resources/AlertEditor.properties
  • ui/treetable/resources/ProjectsAndTasksTable.properties
  • ui/treetable/dnd/resources/TimerTaskTransferHandler.properties
  • ui/report/resources/ReportView.properties
  • ui/resources/TimerTaskEditor.properties
  • ui/resources/StatusBar.properties
  • ui/resources/HelpFrame.properties
  • ui/ws/resources/SwingConnectionInformationHandler.properties
  • ui/systray/resources/SystrayManager.properties