docs: def get_locale(self):
          """
          Get locale
          Will extract locale from application, trying to get one from babel
          first, then, if not available, will get one from app config
          """
          if not self.locale:
              try:
                  import flask_babel as babel
                  self.locale = str(babel.get_locale()).lower()
              except ImportError:
                  from flask import current_app
                  self.locale = current_app.config['DEFAULT_LOCALE'].lower
  
          return self.locale