old_contents: from flask.ext.babel import get_locale
  
  
  def lang():
      return str(get_locale())
new_contents: from flask_babel import get_locale
  
  
  def lang():
      return str(get_locale())
subject: Remove deprecated flask.ext extension naming