learningequality / le-utils

Utilities and constants shared across Kolibri, Ricecooker, and Kolibri Studio
MIT License
2 stars 31 forks source link

Add the language list to le-utils #21

Closed aronasorman closed 7 years ago

aronasorman commented 7 years ago

By importing from le_utils.constants.languages import getlang, you'll get a nice function that will return a Language given the code.

aronasorman commented 7 years ago

@jayoshih please use the 'Squash and merge' feature when merging this! You can access said feature to the right of the green merge button.

jayoshih commented 7 years ago

Looks good!