get translation_function attribute of the object _default, call the result with an argument eol_message, substitute the result for result.
result = getattr ( _default , translation_function ) ( eol_message )