<?
function translate($zin){

    switch ($zin) {
        
        case "Admin": $new = "Administration";    break;
        case "cate": $new = "Browse by categorys"; break;
        case "day": $new = "Browse by day"; break;
        case "week": $new = "Browse by week"; break;
        case "cal": $new = "This months calendar"; break;
        case "nocats": $new = "No categorys yet"; break;
        case "addcat": $new = "Add category"; break;
        case "cats": $new = "Categorys"; break;
        case "addevent": $new = "Add event"; break;
        case "outof": $new = "'Out-of-date' items"; break;
        case "eventitle": $new = "Title event"; break;
        case "description": $new = "Description of event"; break;
        case "choosecat": $new = "Choose category"; break;
        case "selectyear": $new = "Year"; break;
        case "selectmonth": $new = "Month"; break;
        case "selectday": $new = "Day"; break;
        case "bdate": $new = "Date"; break;
        case "notitle": $new = "You must give in a title !"; break;
        case "nodescription": $new = "You must give in a description"; break;
        case "noday": $new = "You must choose a day !"; break;
        case "nomonth": $new = "You must choose a month !"; break;
        case "noyear": $new = "You must choose a year !"; break;
        case "nocat": $new = "You must choose a category !"; break;
        case "back": $new = "Back"; break;
        case "nononapproved": $new = "No non-approved events at this moment"; break;
        case "nonapproved": $new = "Non-approved events : "; break;
        case "cat": $new = "Category"; break;
        case "view": $new = "View event"; break;
        case "edit": $new = "Edit event"; break;
        case "approve": $new = "Approve"; break;
        case "moreinfo": $new = "More info"; break;
        case "editcat": $new = "Edit category"; break;
        case "delcat": $new = "Delete category"; break;
        case "edit": $new = "Edit"; break;
        case "del": $new = "Delete"; break;
        case "name": $new = "Name"; break;
        case "update": $new = "Update"; break;
        case "reallydelcat": $new = "Are you sure to remove this category ? Every event will be deleted too that is associated with this event !"; break;
        case "noback": $new = "Oops, no, go back !"; break;
        case "surecat": $new = "Yes, delete it now !"; break;
        case "noevents": $new = "No events"; break;
        case "numbevenst": $new = "Event in category "; break;
        case "upevent": $new = "Update event"; break;
        case "delev": $new = "Delete event"; break;
        case "nooutofdate": $new = "No out-of-date events."; break;
        case "delalloodev": $new = "Delete all out-of-date events"; break;
        case "delevok": $new = "Yes, delete event !"; break;
        case "delalloodevok": $new = "Delete them all !"; break;
        case "prevm": $new = "Previous month"; break;
        case "nextm": $new = "Next month"; break;
        case "todaysdate": $new = "Today"; break;
        case "today": $new = "Events today"; break;
        case "readmore": $new = "Read more"; break;
        case "nextday": $new = "Next day"; break;
        case "prevday": $new = "Previous day"; break;
        case "askedday": $new = "Asked day"; break;
        case "nextweek": $new = "Next week"; break;
        case "prevweek": $new = "Previous week"; break;
        case "weeknr": $new = "week number"; break;
        case "eventsthisweek": $new = "Events from "; break;
        case "till": $new = "till"; break;
        case "thankyou": $new = "Thank you for entering an event, we'll look it at shortly !"; break;
        case "": $new = "Script by"; break;
        case "": $new = "Script by"; break;
        case "": $new = "Script by"; break;
        default: $new = "<b>".$zin."</b> needs to be translated !";    break;
        
    }
    return $new;
}
?>
