Merge pull request #14 from stevegutz/i18n

Fix bug caused by > 2 equivalent placeholders.
Fix another input map modification bug