RE: [PHP-I18N] Performance matter
| From: | Evan Owens | Date: | Fri, 22 Aug 2003 02:15:25 +0000 |
| Subject: | RE: [PHP-I18N] Performance matter | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-610@lists.php.net to get a copy of this message | ||
I would *assume* that gettext would have the best performance.. Though I can't back this up.
Anyone?
-----Original Message-----
From: Zygimantas Berziunas [mailto:zygimantas@fatelords.com]
Sent: 2003/08/22 (金) 2:51
To: php-i18n@lists.php.net
Cc:
Subject: [PHP-I18N] Performance matter
What do you think it is better for performance of multilingual site: 1 -
define all messages in one english.lang file as constants, 2 - define
current page messages in english.page.lang as constants 3 - parse all
messages as variables in array using parse_ini_file and file english.ini 4 -
parse current page messages as variables in array using parse_ini_file and
file page.english.ini? more suggestions maybe?
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php