A
download i18n.php
Language: PHP
LOC: 14
Project Info
FreeMED Project(freemed)
Server: SourceForge
Type: cvs
...reemed\freemed\freemed\lib\
   acl.php
   API.php
   bcadd.php
   calendar-functions.php
   class.AdminModule.php
   class.Agata.php
   class.Authorizations.php
   class.BaseModule.php
   class.BillingModule.php
   class.CalendarModule.php
   class.ClaimLog.php
   class.Coverage.php
   class.Debug.php
   class.diagnosis_set.php
   class.Djvu.php
   class.EMRModule.php
   class.Fax.php
   class.FixedFormEntry.php
   ...s.FixedFormRenderer.php
   class.FormRenderer.php
   class.FreeMEDSelfTest.php
   class.GeneralConfig.php
   class.GraphModule.php
   class.Guarantor.php
   class.Handler_HL7v2.php
   ...s.Handler_HL7v2_A04.php
   ...s.Handler_HL7v2_A08.php
   ...s.Handler_HL7v2_S12.php
   ...s.Handler_HL7v2_S15.php
   class.InsuranceCompany.php
   class.LanguageRegistry.php
   class.Ledger.php
   ...s.MaintenanceModule.php
   class.Messages.php
   class.OMBS_Patient.php
   class.OMBS_Wrapper.php
   class.Parser_HL7v2.php
   class.Patient.php
   class.Payer.php
   class.PHPlot.php
   class.Physician.php
   class.Procedure.php
   class.RecordLock.php
   class.Remitt.php
   class.ReportsModule.php
   class.rxlist.php
   class.Scheduler.php
   class.TeX.php
   class.User.php
   class.UtilityModule.php
   class.vCalendar.php
   class.vCalendarEvent.php
   error_handler.php
   freemed.php
   i18n.php
   iso-set.php
   macros.php
   mail-functions.php
   settings.php
   settings.php.tmpl
   xml.php
   xmlrpc_services.php

<?php
	// $Id: i18n.php,v 1.6 2003/04/24 18:36:00 rufustfirefly Exp $
	// $Author: rufustfirefly $
	// GettextXML support

LoadObjectDependency('PHP.GettextXML');

GettextXML::bindtextdomain('FreeMED', './locale');
GettextXML::setlanguage($GLOBALS['freemed']['__language']);

// Set basic text domain
GettextXML::textdomain('freemed');
GettextXML::textdomain('template_default');
if ($template) {
	GettextXML::textdomain('template_'.$template);
}

// Set text domain for page
GettextXML::textdomain(str_replace('.php', '', page_name()));

// If there is a module loaded, get its text
if (isset($_REQUEST['module'])) {
	GettextXML::textdomain(strtolower($_REQUEST['module']));
}

// For debugging, uncomment the next line; it allows all untranslated strings
// to come up with a '*' appended to them.
//GettextXML::markuntranslated('*');

?>

About Koders | Resources | Downloads | Support | Black Duck | Terms of Service | DMCA | Privacy Policy | Contact Us