How it works:
- Each string is a constant
- Different include files for each language
Definition file:
trans/nl.php:
<?php
define("CLICK_HERE", 'Klik <a href="%1">hier</a> om');
define("LOGIN", 'in te loggen');
define("LOGOUT", 'uit te loggen');
?>
Usage:
<?php
include 'trans/nl.php';
printf(CLICK_HERE . ' ' . LOGIN, 'login.php');
?>