Refactor translation handler

http://ci.wakame.jp/job/wakame-vnet.integration-test/114