Features/Enhanced Gettext

From Sugar Labs

Jump to: navigation, search

Contents


Summary

Enhanced Gettext adds an extra search path for translation files for Sugar activities. This would allow deployments to add and update activity translations independently of the release process.

Owner

Current status

Detailed Description

Currently the translation process is tightly coupled with the release workflow. In order to get the latest translations for a particular activity, deployments need to either wait for the activity maintainer make a new release, or use the language pack mechanism, which is distribution specific, and an ugly hack at its best. This feature would add a sugar.gettext module, which, if used by activities, will search an alternative path (configurable via GConf) for translations before looking into the activity directory (where the translations present in the original release bundle exist.

Benefit to Sugar

Scope

UI Design

N/A

How To Test

Testing without language packs

This is mostly regression testing, in order to ensure that we do not break existing stuff with the new patch.

Testing with language packs

This tests support for language packs (which are essentially translation files which can be installed separately from the activities later on by deployments)

User Experience

N/A

Dependencies

None

Contingency Plan

None necessary, revert to previous release behaviour.

Documentation

Release Notes

The extension adds a new dependency of the Python dateutil module. In Fedora and Ubuntu/Debian this is provided by the package python-dateutil.

Comments and Discussion

Personal tools
Namespaces
Variants
Actions
Sugar
Projects
Teams
Local Labs
Using the Wiki
Google translations