err I'm not sure if understand what you're trying to do but..
you can try using language system for the website where $nav = "Home"; in english.php and it's $nav = "Home in Turksih"; in turkish.php and you simply switch the files regarding the desired language
We are coming to the right spot but the earliest stage. If you have not translated any code, possibly you will have difficulties to see what the problem is. What you say is the earliest stage of the translation. I am talking about far ahead. If you start translating all the text inside the "" marks probably you know what happens. The tool should select only the one being printed on the screen as pure text like the example you gave. The program, must be a comprehensive software, not like an editor. I have found
Please install this program. I just found it, and is a bit doing what I need but not good at all.