Harvest: Difference between revisions

Line 97: Line 97:
However, not every deployment may want to group users by age, e.g., in Australia, they group students by grade.
However, not every deployment may want to group users by age, e.g., in Australia, they group students by grade.


Using a configuration file (/usr/share/sugar/data/group-stats.defaults), it is possible to configure the selection into groups  
Using a configuration file (/usr/share/sugar/data/group-labels.defaults), it is possible to configure the selection into groups  
specific to the needs of a deployment. The configuration file is a JSON-encoded Python dictionary that maps ages to labels and icons associated with those labels.
specific to the needs of a deployment. The configuration file is a JSON-encoded Python dictionary that maps ages to labels and icons associated with those labels.