def formatnextmessage(options, content):
    """Format the next message"""
    foundprefix = False
    nextmessage = ''
    language = content[0:2]
    for parameter in options['prefix']:
        if parameter.endswith('_prefix'):
            if parameter.startswith(language):
                foundprefix = True
                nextmessage = ' '.join([options['prefix'][parameter],
                    content[3:]])
    if not foundprefix:
        nextmessage = ' '.join([options['prefix']['prefix'], content[0:]])
    nextmessage = nextmessage.replace('\\n', '\n')
    return nextmessage, language
