[url]https://www.phpbb.com/kb/article/how-to-install-a-language-pack[/url]
[b]Download[/b]
You can click on either the flag icon or the 'Downloads, Details & Support' link for your chosen language. This will take you to the relevant section of the Customisation Database. The language pack is compressed as a .zip file and can be downloaded to you computer by clicking on the Download link.
Now that you have the compressed language pack on your computer, you will need to extract (unzip) it. The extracted archive should contain 2 folders:
/language
/styles
The language folder will contain the language files and the styles folder will contain the localised buttons for both the prosilver and subsilver2 styles
NB: If you are using a style other than prosilver or subsilver2 you will need to copy the appropriate localised buttons into the imageset folder of your custom style.
[b]Install[/b]
Now that the language pack is uploaded to your server, you will have to install it via the Administration Control Panel. To do this you will need to do as follows:
Log in to your board.
Click the 'Administration Control Panel' link in the footer of your board.
If needed, re-authenticate to enter the Administration Control Panel.
Now that you are in the Administration Control Panel, you will need to click the 'SYSTEM' tab at the top of the page.
On the left hand side you will have a menu split into categories. In this left hand menu under the category 'General Tasks' you will see the link 'Language Packs' which you need to click.
Once you have clicked the 'Language Packs' link you should see a page which lists the language packs you have uploaded onto your server. Those which have not been installed yet will show with an install link. Clicking the install link will install the language pack.
[b]Set as Board Default[/b]
You now have your new language pack installed and are now probably wondering how you use it. The first thing you are probably going to want to do is to set it as the board default language. The board default language will be used for guests visiting the board and for the new registrant's default language setting (although they can choose from any installed language when registering or change the language in the User Control Panel after registering). To set the newly installed language pack as the board default, follow the steps below:
Log in to your board.
Click the 'Administration Control Panel' link in the footer of your board.
If needed, re-authenticate to enter the Administration Control Panel.
Now that you are in the Administration Control Panel, you will need to click the 'General' tab at the top of the page (although you should already be at this location).
On the left hand side you will have a menu split into categories. In this left hand menu under the category 'Board Configuration' you will see the link 'Board Settings' which you need to click.
Once you have clicked the 'Board Settings' link you should be greeted by the boards settings page. On this page you should be able to see the drop down menu for the option 'Default language:'. Select your newly installed language in the drop down menu and then click the submit button.
[b]Set Personal (My Language) Setting[/b]
As briefly mentioned above you can set your own language option in the User Control Panel. This allows the board Administrator to have several language packs installed and thus the board users can choose the language which they prefer. This is important on multi national boards where users of the board speak different languages natively. Of course, the Administrator of the board can change the user's language setting via the user management section of the Administration Control Panel. The following instructions will tell you how users can set their own language option.
Users will need to be logged into the board to be able to change their User Control Panel options. Once logged in, they will have the 'User Control Panel' link in the header.
Clicking this link will take the user into the User Control Panel.
Once inside the User Control Panel the user will have to click the 'Board Preferences' tab.
After clicking the 'Board Preferences' tab, the page should load showing the users 'global' board preferences. If it does not, the user will need to click the 'Edit global settings' link in the left hand menu.
Once the 'global settings' page has loaded, there will be a drop down menu for the option 'My language:'. In the drop down menu users can select their desired language setting. Once they have done this, the user will need to submit the page.Once a user has set their own personal language option, their account will use this option regardless of the default board setting in the Administration Control Panel.
phpBB的多语言设置
原创
©著作权归作者所有:来自51CTO博客作者pyzheng的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Yii框架的多语言设置
Yii 框架的缺省语言是美国英语(
yii 简体中文 php 多语言 -
iOS 系统权限多语言 苹果手机多语言设置
这里面写的很清楚,值得借鉴。 如果你的App需要支持多国语言。那么,就应该为你的App应用添加“国际化”支持。 “国际化”乍看很高深。其实,苹果xCode都为我们设置好了,我们只需要简单的配置,就能够完成。 “国际化”顾名思义,就是要让各国的人使用你的App应用时,显示用户本国的母语。 网上也有很多这样的帖子,但是,xCode在进化,很多东西,已经移动
iOS 系统权限多语言 国际化 多语言配置 Localizable.strings string文件的创建