Internationalization dashboard details

Internationalization Dashboard

Overview

The Internationalization dashboard is based on two components:

  • First is a Java tool created by the Leidse Onderwijsinstellingen. The tool scans through the Sakai source code for property files of the correct language type and generates an HTML page.
  • Second is wrapper Perl code written at the University of Amsterdam which scans the Sakai source code and generates a bash file to run that fires off the Leidse tool per language found. The second objective of the wrapper is to create an index page pointing to all the generated summaries.

A cronjob periodically runs the following work flow:

  1. Sakai source code is exported via "svn export https://source.sakaiproject.org/svn/sakai/trunk/"
  2. the Perl wrapper is run which generates an index page and a bash script
  3. the bash script is run generating all of the summaries via calling a tool.

Example Bash Script Generated

echo 1 ca
java -jar /home/sakaiqa/site-generator/lib_international/l10n-stats-0.3.jar -sourcepath /home/sakaiqa/site-generator/website/src/trunk -language ca -statistics -text -bundles -extra -exclude /home/sakaiqa/site-generator/lib_international/exclude.lst -html > /home/sakaiqa/site-generator/website/www/ca_stats.html
cp /home/sakaiqa/site-generator/website/www/ca_stats.html /home/sakaiqa/codereview/trunk/ca_stats.html

Resources