For this particular case it requires a lot of rework since we have to create new templates for different types of log lines and use them instead of just sprintf(...). BTW there're already a lot of markup tags inside the localization file. It seems it's better to make it as a separate task to eliminate markup from the .php.