Home | Mirror | Search |
這種方式流行于PHP語言,下面是一個例子
資料庫方式包括
其他非關係型收據庫 (Berkeley DB)
對象/關係型收據庫 ORDBMS (mysql)
Berkeley DB 是一個不錯的選擇,而且相對關係型資料庫比較有優勢。因為關係型資料庫子並發數有限,連接資源很寶貴。
例 14.2. sql table language package
select id,key,value from language where country = 'zh-cn' and key = 'hello_world';
The gettext functions implement an NLS (Native Language Support) API which can be used to internationalize your PHP applications. Please see the gettext documentation for your system for a thorough explanation of these functions or view the docs at » http://www.gnu.org/software/gettext/manual/gettext.html.