Translate same paragraphs as ScalaCustomTemplateFormat.md
Translate JavaCustomTemplateFormat
fix wrong use of a word `trait' on Java documentation.
Merge pull request #738 from wm3/issue_570

JavaCustomTemplateFormat.md の翻訳 #570