This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:real_case_guidance:how-to_add_language_package [2012/04/17 13:57] shangy |
en:real_case_guidance:how-to_add_language_package [2017/12/12 03:05] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <note important>In order to meet multilingual needs, we made the installation of new language pack available. Here is the how-to.</note> | + | <note tip>In order to meet multilingual needs, we made the installation of new language pack available. Here is the how-to.</note> |
| - | 系统管理界面下,系统设置–语言管理,打开添加语言界面: | ||
| In the system management interface, System -> Language -> Add | In the system management interface, System -> Language -> Add | ||
| Line 27: | Line 27: | ||
| - | Open Chinese and English PO file in the editor: | + | Open English PO file in the editor: |
| {{:en:real_case_guidance:enedit.png?|}} | {{:en:real_case_guidance:enedit.png?|}} | ||
| - | {{:en:real_case_guidance:dede.png?|}} | + | |
| - | + | ||
| What you need to modify is the the information in the double quotation marks of line msgstr. Change it into the newly-added language. | What you need to modify is the the information in the double quotation marks of line msgstr. Change it into the newly-added language. | ||
| When finished all the changing, put the pack file into /var/www/html/astercc/app/locale. Your system language will be what you have chosen for it. | When finished all the changing, put the pack file into /var/www/html/astercc/app/locale. Your system language will be what you have chosen for it. | ||
| - | Take German for example here. Let's change the PO file in the login file under LC_MESSAGES folder. | + | |
| + | For instance, if we are going to change the login interface into German, we need to change the PO file in the login file under LC_MESSAGES folder. | ||
| + | |||
| + | {{:en:real_case_guidance:dede.png?|}} | ||
| + | |||