Help please organize bi-lingual website.
So first there are two files eng.php, es.php and they will be stored in translation site.
example:
$lang
You can have two files like this.
Source of en.php:
en.php
$lang = array( 'hi' => 'Hi' );
Source of es.php:
es.php
$lang = array( 'hi' => 'Hello' );
And for the main content file, the source should be this way: