[eluser]yannyannyann[/eluser]
For the language file. I plan to do this :
- a php file in the folder language/french/fr.php
- a php file in the folder language/english/en.php
In each of these files an array like this :
Code:
// Example of the french array
$lang_template = array(
'photos' => 'photos',
'videos' => 'vidéos',
'last collection' => 'dernière collection',
...
)
Then depending on current_language(), I will read fr.php or en.php
Does this solution sound right to you ?
Is it ok from a MVC point of view ? (stupide question maybe)