Tuesday, 12th August 2014

Today I could complete documentation of experiments with linear air track. Also gave finishing touch to python codes by adding gettext module for internationalization.

The gettext module provides internationalization (I18N) and localization (L10N) services for your Python modules and applications. It supports both the GNU gettext message catalog API and a higher level, class-based API that may be more appropriate for Python files. It allows you to write your module and application messages in one natural language, and provide a catalog of translated messages for running under different natural languages.

Thanks to Georges Khaznadar who helped us with internationalization. The following code is added to all the programs.


import gettext
_ = gettext.gettext


Now need to work on pages for individual experiments and also the Common GUI for sound and mechanics.