Transferred from: http://www.cnblogs.com/xiaochaohuashengmi/archive/2011/08/09/2132603.htmlRecently, with the gradual standardization of I18N (internationalization), I will also talk about how to achieve internationalization support in PHP. As with
In the wangking717 of the "PHP GetText way to achieve UTF-8 internationalization of multiple languages (i18n)" (Original: http://blog.csdn.net/wangking717/article/details/4739465# Reply) After the operation of their own a little discrepancy, so note
Usually when people write programs, they write words that die in the program, such as: echo "Hello world!"; , if you want to change to the language of the country, write the internationalization of the program, it is necessary to open one by one to
There are many ways to internationalize, many PHP frameworks have built-in i18n support, but most of them are based on an array of PHP, this method is not recommended. At present, the most popular and most common method is gettext.
Gettext is used
Example of using gettext in PHP to solve international problems (i18n ). There are many ways to achieve internationalization. many PHP frameworks have built-in i18n support, but most of them are implemented based on PHP arrays. this method is not
There are many ways to internationalize, many PHP frameworks have built-in i18n support, but most are implemented in PHP-based arrays, and this method is not recommended. The most popular and most common method is gettext.
Gettext is used for
There are many ways to internationalize, many PHP frameworks have built-in i18n support, but most are implemented in PHP-based arrays, and this method is not recommended. The most popular and most common method is gettext.
Gettext is used for
Php program internationalization implementation method (using gettext ). Step 1: Set up environment 1. first check whether the php_gettext.dll file exists in your php extension directory. if not, you need to download one or copy one from other
Use gettext in PHP to support multi-language methods. Today, we use a simple example to describe the usage of getText in PHP (getText is a series of tools and library functions that help programmers and translators develop multilingual software ),
There are many ways to achieve internationalization. Many php frameworks have built-in i18n support, but most of them are implemented based on PHP arrays. This method is not recommended. Currently, the most popular and common method is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.