I have a large PHP Document in the following format:
<?php
define("TITLE","HAPPY DAYS");
define("FOOTER","This site is ok");
... 1000 more
?>
I want to translate it to Spanish.
I tried Google translate but it also translated TITLE
, FOOTER
which are PHP keywords and should be not translated.
Any idea how to automate it?
If my call is
API?text="TEXT HERE"
it returns
TEXT TRANSLATED