Notice: Undefined offset: 8192 in /home/miphpf/domains/miphpf.com/public_html/includes/common.inc on line 499

Notice: Undefined offset: 8192 in /home/miphpf/domains/miphpf.com/public_html/includes/common.inc on line 506

Warning: Incorrect key file for table './miphpf_miphpfcom/watchdog.MYI'; try to repair it query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/miphpf/domains/miphpf.com/public_html/includes/unicode.inc on line 291.', 2, '', 'http://www.miphpf.com/manual/internationalization.html', '', '3.230.143.213', 1713230625) in /home/miphpf/domains/miphpf.com/public_html/includes/database.mysql.inc on line 121
Internationalization | MIPHPF - Your Open Source RAD PHP Framework
Skip navigation.
Home

Internationalization

: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/miphpf/domains/miphpf.com/public_html/includes/unicode.inc on line 291.

Internationalization is supported through miI18N class. The class has only two methods.

<?php
$message
= miI18N::htmlEscape('<html>');
print(
$message);    // Will output: &lt;html&gt;
?>
<?php
$message
= miI18N::getSystemMessage('MI_RECORD_CREATED_SUCCESSFULLY_MSG');
print(
$message);    // Will output: Record [ %u ] created successfully
?>