Isolating language-specific formatting rules