added spanish. The phrases are a little different Dave, so I put a few of them through Google translate for spanish and they came out slightly different, let me know what you think. If you want to do some others (or anyone for that matter) - this is the format I need them in..
This is es_ES.php, note the number format I need too, last two parameters are what needs to change and they are decimal point and thousand seperator..
Code:
$cat_project = 'Proyecto';
$cat_subproject = 'Subproyecto';
$cat_milestone = 'Hito';
$cat_projectapp = 'Solicitud del proyecto';
$cat_team = 'Equipo';
$cat_title = 'Hitos BOINC';
$milestone = number_format($mstone[$i],0,',','.');
$message = " acaba de pasar $milestone en $descr[$i]!";
$message2 = " acaba de pasar en $milestone BOINC combinado!";
$message3 = " gan" . chr(23) . " una insignia de $badge_type[$i] en $descr[$i]!";
I'm NOT (yet) transcribing the names of the badges as I pull them from my database and haven't figured out a convenient way to do it yet (could go down the 'switch' way but am avoiding that for now..thinking of the future mainly...)
a en_US.php would look like
Code:
$cat_project = 'Project';
$cat_milestone = 'Milestone';
$cat_projectapp = 'Project App';
$cat_team = 'Team';
$cat_title = 'BOINC Milestones';
$message = " just passed $milestone in $descr[$i]!";
$message2 = " just passed $milestone in Combined BOINC!";
$message3 = " just gained a " . $badge_type[$i] . " badge in $descr[$i]!";
Bok