Page 1 of 1

Hello, F

Posted: 29 Dec 2007, 17:29
by zma
Hello,

First of all I want to thank you for this component.
Secondly, well, I have a problem using another language than English.
I want my guestbook to be in Arabic, but when I translate the language file and upload it to the site, my guestbook crashes.
Any idea of what I'm doing wrong?

??? I don!t have any

Posted: 29 Dec 2007, 19:32
by Jan
??? I don!t have any experience with arabic language, but Phoca Guestbook works with chinese language. So, I think, there should not be problem.

And I have seen, Arabic language is displayed on my demo site. ??? Maybe there is some error in your language file. ???

Jan

Hello again,

Posted: 31 Dec 2007, 16:58
by zma
Hello again,

I tried to change the language to Chinese, but it didn't work.

I copied the to language files to these directories:
administrator/language/zh-CN
language/zh-CN

and changed the language tag in phocaguestbook.xml to:
<language tag="zh-CN">language/zh-CN/zh-CN.com_phocaguestbook.ini</language>
<language tag="zh-CN">language/zh-CN/zh-CN.com_phocaguestbook.menu.ini</language>

..and still it doesn't work!

can you see what i'm doing wrong?!

You must change the

Posted: 31 Dec 2007, 21:43
by Jan
You must change the language for whole Joomla site. And if you change it, your Joomla takes the right language file. E.g. I set Joomla site to Czech and then I copy Chech language file into the following folders:
administrator/language/cs-CZ
language/cs-CZ

Joomla! site will use Czech language pack for the Phoca Guestbook component.

Jan

Thank you for your r

Posted: 01 Jan 2008, 00:18
by zma
Thank you for your reply..

I tried to do what you wrote..

I use the English language for my administrator site, and Arabic for the main site.

So what i did was:
to put the Arabic language file in the directory: language/ar-EG
and keep the english one in the directory: administrator/language/en-GB

then I changed line 69 and 70 in the xml file to the following:
<language tag="ar-EG">language/ar-EG/ar-EG.com_phocaguestbook.ini</language>
<language tag="ar-EG">language/ar-EG/ar-EG.com_phocaguestbook.menu.ini</language>

and kept line 127 and 128 as they are:
<language tag="en-GB">language/en-GB/en-GB.com_phocaguestbook.ini</language>
<language tag="en-GB">language/en-GB/en-GB.com_phocaguestbook.menu.ini</language>

But it didn't work

well, I tried again

Posted: 01 Jan 2008, 00:31
by zma
well, I tried again and it worked ..

Thanks a lot for your help..I appreciate it..

Posted: 01 Jan 2008, 01:57
by Jan