offline language translation in java

Hi! I have used Google translate web API many times in my java applications for dynamic translation into different languages (e.g printing a receipt in Hindi,Urdu or French Language.) But now I want an API or Jar file to translate text to different languages Offline. I have searched a lot on internet but all the answers redirected me to online APIs. But I want translation in offline mode. My program will need to translate dynamically in different languages.I myself don't now which words will my client will need to translate. So I want a dynamic functionality(offline). Please direct me to a solution. I will be thankful to you.