Hi everyone, I'd like to ask if how can other websites create a Language Translator? Do they buy some API's then reprogram the main code?

I want to create a language translator, is it possible also in PHP?