phpBB的多语言设置

[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.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值