Reply New Topic
2009/3/4 23:09:34
#1
Offline
Quite a regular

How do you install the Chinese Langauge pack

I found the Chinese files in this forum, but I have no idea how to use them.. I am new to Impress CMS & Xoops. The files did not contain any installation instructions or readme. I have been unable to locate instructions regarding how to use these files.. Any help would be appreciated.


2009/3/5 4:07:55
#2
Offline
Home away from home

Re: How do you install the Chinese Langauge pack

Just copy htdocs content in your root site
You have now in the language package:
/htdocs/language/schinese_utf8
/htdocs / modules / system / language / schinese_utf8
Copy language chinese folder in rootofyoursite/language; the same for /modules/system...
You must look then in your site:
/language
-----------/english
-----------/schinese
Go to settings and you could choose Chinese language


2009/3/5 11:27:57
#3
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

I did that, but Chinese is not available in the language settings. Only English and French (but I didn't install french). Weird.


2009/3/5 11:53:04
#4
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

Sorry, maybe I don't understand the instructions you gave.
I have copied the files to my site root, in the same locations they were in my language pack.
/htdocs/language/schinese_utf8
/htdocs/modules/system/language/schinese_utf8

Both folders are present in my site at these locations.
Quote:


You must look then in your site:
/language
-----------/english
-----------/schinese


I'm not sure what you mean by that part.. There is no /schinese folder. The folder is called schinese_utf8.
Also where do I find these "settings". I looked in the admin menu, but I am only able to find multilanguage setting, which can be enabled or disabled. There is not a way to choose which language. it appears to be all or nothing. That would be fine, if chinese were one of the languages listed, but only English and French are there.


2009/3/5 12:05:16
#5
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

Ok, I found that schinese_utf8 is listed as an optional language in the user's profile settings, but when i change it to schinese_utf8 and save the profile settings, nothing changes in the way the menus as displayed. Everything is still in English.. When I go back to the Profile settings, I see English displayed. Do I need to change some chmod some file/folder permissions to get it to work?
Also, this is not a very useful way to incorporate multiple languages. If someone finds my website, they will want to see an option to change to their native language on the homepage.. If they can't speak English, the will not register, and therefore they will not discover this option in their profile settings.. Is anyone else successfully using the Chinese language pack? If so, how did you implement it?


2009/3/5 13:50:06
#6
Offline
Home away from home

Re: How do you install the Chinese Langauge pack

Sorry. I am not an English speaker and perhaps my instructions were not clear.
The main language for the site: go to Control Panel; Preferences; General Settings.
In that page you will see: Default language; just select schinese_utf8 and save. Your page must to be in Chinese (I just have done a test and my page was in Chinese ;).
About multilanguage: http://wiki.impresscms.org/index.php?title=Multilanguage
I hope this help you


2009/3/5 14:22:06
#7
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

Debianus,
Thank you for your help. I have followed your instructions exactly.
I go to Control panel: Preferences: General Settings. There I see the setting for default language. I change it to schinese_utf8. Then I click "Go". However, the menus are all in English.. The site does not change to Chinese.. Also I found a multilanguage block, so I made the multilanguage block visible, but only English and French are available as options.


2009/3/5 14:34:10
#8
Offline
Home away from home

Re: How do you install the Chinese Langauge pack

Strange (I have done the same and all runned fine)
What is the iCMS release are you using? Any link for give a look to your page?
Please, in General Setting, put on Debug mode and tell if you can get error messages


2009/3/5 18:57:32
#9
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

http://www.fuzhouexpat.com/index.php

It is the latest stable release. 1.1.1 final
Debug mode is on. 0 errors.


2009/3/5 19:00:24
#10
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

it keeps showing French as a option, but I did not install french. if you choose french from the multilanguage block, nothing changes. This is a fresh install. I haven't changed anything except adding the schinese pack.


2009/3/5 19:09:14
#11
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

I am reading the instructions here:
http://wiki.impresscms.org/index.php?title=Multilanguage
In Preferences > Multilanguage settings
It says I should enter the required Multilanguage pair names:
examples are:
en = English
fr = French
es = Spanish
de = German
... etc

I only see en,fr. Do I need to add something here? If so what?

I couldn't find a Chinese language pack in the addons repository, but i found one linked on this forum. Here is where I downloaded the Chinese language pack I am using:
http://impresscms.svn.sourceforge.net/viewvc/impresscms/languages/schinese/branches/impresscms_1.1/?sortby=date
Is this the same one you're using? Because there seems to be something wrong.

If it is this complicated to get multilanguages working, the language packs really should include a readme file.
I really can follow directions. Honest I can..


2009/3/5 22:36:57
#12
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

Ok that was it. For anyone else struggling with this. Add all the files from the language pack. Rename the schinese_utf8 folders to schinese. In the control panel go to preferences:multilanguage and Enable multilanguage. If you did not install the french language pack, delete the fr and french. They are there by default, but the french language pack is not installed by default. Under "Multilanguage tags" add cn. Next to "Language names" add schinese. This name must match the name of the folders that were added by the language pack as well as the corresponding flag image located in the images folder. Next to "Language captions" Put what you would like to be displayed as the alt text for the flag image that users click to switch to that language. In this case I put 中文 which are the Simplified Chinese characters for the word "Chinese" (just in can you can't see them). Under "Charsets" add another UTF-8 separated by a comma (or just use the one that was already there for french). Click "Go" to save your changes. Then go to control panel: Blocks: and make the language selection block visible, or simply add the tag
English Nederlands 
wherever you would like the language buttons to appear. I hope that makes sense, because this was not at all clear to me at first. Good luck.


2009/3/6 0:24:51
#13
Offline
Quite a regular

Re: How do you install the Chinese Langauge pack

Correction.. Use the code zh when you enable multilanguages. This will enable Impress CMS to automatically change to Chinese when it encounters a Chinese enabled browser.


2009/3/6 9:40:55
#14
Offline
Home away from home

Re: How do you install the Chinese Langauge pack

Your questions seem solved. Great.
If you want, feel free improve the wiki documentation for this feature.


Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.