def get_tiles_from_client_in_locale(cache, client, locale):
    """
    Gets a list of tiles that run in a particular locale for a particular
    client
    """
    tiles = []
    for tile_id, tile in cache.iteritems():
        if client in tile['title']:
            if locale == tile['locale']:
                tile['id'] = tile_id
                tiles.append(tile)
    return tiles