Quote:
|
Originally Posted by NeverMind
I got your idea but what do you mean by : "for the texts that are not part of any tags of code" ?
some php files only contains pure php ..
|
Well, I mean that if in some part of the php I have something like:
<tr id="myId">
<td>Hi there</td>
</tr>
Then the script would take only the "Hi there" string, as the "myId" is part of the tag called "id". Then, he would replace the code for something like
<tr id="myId">
<td><?=$message[0];?></td>
</tr>
And meanwhile, he would create a language file that would be something like:
<?
$message[0]="Hi there";
?>
So one would just run this script over a complete web site , etc., and it would automatically do the job...
Does that exist?