'Translate some text in java

I have a project in java Spring that gets a subtitle file and translates its sentences to Persian. Now I need some dependency for translating these sentences. Note that I'm living in Iran and we can not use google translate API. So I need a free dependency.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source