def D_(trn, lang=None, fallback='en'):
	context = getattr(local, 'context', {})
	lang = getattr(context, 'lang', fallback) if lang is None else lang
	
	try:
		return trn.get(lang, trn.get(fallback, next(iter(trn.values()))))
	except __HOLE__:
		if __debug__:
			log.debug("Missing language value for " + lang + ": " + repr(trn))
			# 1/0
			return "(!MISSING!)"
		return ""
dataset/ETHPy150Open marrow/contentment/web/contentment/util/__init__.py/D_