Custom forms and multiple languages

My website has 2 languages i.e English and German.

I am going to create custom input form and wondering what are the best practices to follow in order to make sure both above languages are properly integrated in custom forms?

It will be great if you can also shed light how I can achieve this is in my coding.

Thanks

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/30/feed