Sugar Labs

Make i18n-locale loading more robust in sugar

Recently, we have received some reports of activities being unable to start because the user sets a locale that is not supported. See the details in [1].

Reproduce the bug (e.g, by setting the locale to some inexistente value), hack sugar to make it more robust by setting the locale to en_US as a fallback value.

Refs: [1] http://lists.sugarlabs.org/archive/sugar-devel/2015-December/051007.html

Task tags

  • python
  • gettext

Students who completed this task

Daksh Shah

Task type

  • code Code
close

2015