Single copy of the code for printing translated text with substitutions.
Missing VM parameter checks; missing translation function declarations.
Proper pluralised translation support.