Thanks Ross for naming me.
Sammi for the text that is not generated by weblogs etc. what we do isn’t a very elegant solution but an easy and fast fix.
In addition to the extansion/method that we are using as stated on the link that Ross provided, we create a language file i.e. lang.custom.php within the language folders of each language. This file holds i.e. an array called $L that holds site text.
i.e. $L[‘jump’]= ‘jump’;
Then on EE admin / templates / pereferences; we enable PHP (input) we put these lines of code at the beginning of the template
<?php
$include_path = $_SERVER['DOCUMENT_ROOT'].'/system/language/{language}/lang.custom.php';
$default_path = $_SERVER['DOCUMENT_ROOT'].'/system/language/turkish/lang.custom.php';
if(!file_exists($include_path)){
include($default_path);
}
else{
include($include_path);
}
?>
{language} variable is set before (if you apply the explained method) as global. So if language is set to English it outputs english.
$include_path is the path to be included.
$default_path is the path to the language file of your sites default language. In our case it is Turkish.
So if {language} is set you call the custom language file located at user requested language folder. If that file does not exist (in other words if translation does not exist) you call the default file.
Then within template we use this line of code to output the text we want.
Is that helpful for a start?