Add typehint for TranslateBehavior
Correct doc blocks.
Merge pull request #4677 from dereuromark/3.0-translate

Add typehint for TranslateBehavior