Closed aronasorman closed 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.
from le_utils.constants.languages import getlang
Language
@jayoshih please use the 'Squash and merge' feature when merging this! You can access said feature to the right of the green merge button.
Looks good!
By importing
from le_utils.constants.languages import getlang
, you'll get a nice function that will return aLanguage
given the code.