I want to create a multi-language website in the form of language packs. for example, I want to create a multi-language website in the form of language packs, I would like to give you an example of how to judge the current language and call the language pack to create a multilingual website. you can use the language pack as an example.
I want to build a multi-language website in the form of language packs. you can give me a great example.
This article mainly describes how to determine the current language and call the language pack:
------ Solution --------------------
You can try to use a framework, such as thinkphp.
Http://www.thinkphp.com for more information
------ Solution --------------------
The Web site is wrong, it is http://www.thinkphp.cn
------ Solution --------------------
Reference:
Is there a direct PHP multi-language approach ??
You can check the gettext method.