does PHP offer resources for this purpose you guys? I know wikipedia does this, by using what seems to be, subdomains or something that seems like subdomains. for instance, this page is in russian:
https://ru.wikipedia.org/wiki/PHP
but if you are in the USA and go to that PHP page after a search, they automatically detect your location and point you here:
https://en.wikipedia.org/wiki/PHP
I can easily get my hands on all the ISO language codes needed, but I’m not sure if I should do this the wikipedia way or purchase a service like google’s Cloud-based Translation API, which costs $45 USD per month after a free trial. I never use a large company’s service if I can help it, because I know darn good and well that their engineers are not paying attention to detail and are only after the money. I’ve fixed countless problems for business people who have bought software services from large corporations without being informed of the little nuances that the engineers did not take into account before writing the service-based application.
I’ve already looked this up and got a few good pieces of info:
https://tympanus.net/codrops/2009/12/30/easy-php-site-translation/
https://www.sitepoint.com/using-google-translate-api-php/
However, I would like opinions from the PHP experts. Can any of you offer anything in addition to what I already have? thanks!