Ticket #614 (closed defect: fixed)
fail gracefully if LANG isn't set
| Reported by: | sascha_silbe | Owned by: | sascha_silbe |
|---|---|---|---|
| Priority: | Low | Milestone: | 0.86 |
| Component: | sugar | Version: | Git as of bugdate |
| Severity: | Minor | Keywords: | r+ |
| Cc: | tomeu | Distribution/OS: | Unspecified |
| Bug Status: | Assigned |
Description
Normally, LANG will be set by the login scripts. But if it isn't set, several parts of Sugar currently fail (tracebacks).
Since Sugar provides its own language chooser anyway, it makes sense to handle this more gracefully and set up locale variables (including LANG) accordingly early on startup. Another option would be to fix all occurences of direct uses of LANG inside Glucose to use the Control Panel settings instead.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

