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
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
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
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
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
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
Developed under Windows, accustomed to the loadstring () function to record text from the resource, so as to achieve multi-language support. But in PHP. and under Linux. Also, not everyone uses loadstring () to load text, but writes its own function,
On PHP and. Net which are more promising
On PHP and. Net which are more promising
April 10, 2011
In the long term, or PHP, at present more than 90% of the large-scale portal stations are using PHP development (such as: Sina, Baidu, Huajun, Xinhua,
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.