def getLocalePath(name, localeName, extension):
    if name != 'supybot':
        base = getPluginDir(name)
    else:
        from . import ansi # Any Supybot plugin could fit
        base = ansi.__file__[0:-len('ansi.pyc')]
    directory = os.path.join(base, 'locales')
    return '%s/%s.%s' % (directory, localeName, extension)
Gets the path of the locale file of the given plugin ('supybot' stands
dataset/ETHPy150Open ProgVal/Limnoria/src/i18n.py/getLocalePath