import this function at the top of each provider netshow component
    that has cli output  functions. Example

    from netshow.netshow import i18n_app as _

def i18n_app(providername):
    """
    import this function at the top of each provider netshow component
    that has cli output  functions. Example

    from netshow.netshow import i18n_app as _
    """
    install_location = pkg_resources.require('netshow-core-lib')[0].location
    translation_loc = os.path.join(install_location, '..', '..', '..', 'share', 'locale')

    _translate = gettext.translation(providername, translation_loc,
                                     fallback=True)

    return _translate.lgettext