Add a string_format function to avoid too many temporary char buffers. Add translation support for melee and melee styles.