several frontend strings missed in the language file

Phoca Guestbook - creating guestbooks in Joomla! CMS
baijianpeng
Phoca Member
Phoca Member
Posts: 27
Joined: 11 Nov 2007, 05:03

Thanks to the author

Post by baijianpeng »

Thanks to the author who had offered us Phoca Guestbook component. You know I also can't miss the chance of translating it into Chinese.

However there are several strings at frontend still not included in the language file.

Please check and add them.

Thank you very much.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

baijianpeng

Post by Jan »

baijianpeng

Maybe there are some strings, I hope, they are translated from general Joomla! language file.

So please, if you find some untranslated string, please let me know.

Jan
If you find Phoca extensions useful, please support the project
baijianpeng
Phoca Member
Phoca Member
Posts: 27
Joined: 11 Nov 2007, 05:03

On the Form:

Post by baijianpeng »

On the Form:

Title:

Name:

Email:

Below the form:

Display Num

And all the alt text for BBcode was not included in the language file. I think they should be translated to make completely localized.

Though the word Email can be understood by anyone, we also have localized name for it. So you can add this to language file too.

If you finished the new release with all these improvements, I will offer you my Chinese translation.

Thank you again.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Maybe, there is a pr

Post by Jan »

Maybe, there is a problem, because of TinyMCE. Phoca Guestbook uses TinyMCE from the Joomla! package. Are the strings from TinyMCE translated?
If you find Phoca extensions useful, please support the project
baijianpeng
Phoca Member
Phoca Member
Posts: 27
Joined: 11 Nov 2007, 05:03

Yes, you are right.

Post by baijianpeng »

Yes, you are right. I just noticed that those alt text for my TinyMCE editor was not translated. In fact, there is no Chinese language file for Editor.

Ok, I will try to translate the editor.

Then, If this gusetbook component uses TinyMCE editor, can visitors insert

Code: Select all

 marks and [quote] marks ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Just look at:

Post by Jan »

Just look at:

https://www.phoca.cz/phocagallery/demo/i ... tbook-demo


Code and quote marks are not enabled. You can formate the message only with listed marks

Jan
If you find Phoca extensions useful, please support the project
Gargarospo
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Dec 2007, 18:22
Location: Italy

HelloI r

Post by Gargarospo »

Hello

I resume this thread, since I translated Phoca Guestbook language files to Italian.

I also had the same problem that baijianpeng already stated earlier, concerning the labels "Title:", "Name:", "E-mail:", "Content:", "Image Verification:" and the buttons "Submit" and "Reset" in the frontend form.

Since they appeared to be read from language files in the default.php file (e.g. JText::_('Image Verification')), I went deeper in it and I found out that language files are completely missing in the directory /front of the original package com_phocaguestbook_v1.1.0_beta.zip (actually, the directory /front/language itself is missing in the original package).

So I did a test patch of the package, adding the directory /front/language, in which I then copied the administrator language subdirectories .../en-GB and ../it-IT

Then I modified the original phocaguestbook.xml, since it only had the english language defined (both outside AND inside the <administration>...</administration> tag).

Then I reinstalled my patched package and now it's greatly working in Italian (I also understood my CSS problems).

May I send you the italian language files for your great Phoca Guestbook?

Cheers!
Michele

P.S. Ok, I also need translating TinyMCE for the tooltips of its icons, but that's another matter.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, there is a langu

Post by Jan »

Hi, there is a language file and all strings you have mentioned, are here:


# @package Joomla 1.5
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license GNU/GPL
#
# @component language pack Phoca Guestbook
# @copyright Copyright (C) Jan Pavelka www.phoca.cz
# @license GNU/GPL
#v1.0.0
PHOCA GUESTBOOK=Phoca Guestbook
PHOCA GUESTBOOK GUESTBOOK=Phoca Guestbook - Guestbooks
PHOCA GUESTBOOK ITEM=Phoca Guestbook - Items
PHOCA GUESTBOOKS=Guestbooks
PHOCA ITEMS=Items
PHOCA GUESTBOOK ITEM SAVED ADMIN=Item Saved
PHOCA GUESTBOOK GUESTBOOK SAVED=Guestbook Saved
WARNWANTDELLISTEDITEMS=Are you sure you want to delete the listed Items?
PHOCAGUESTBOOK LAYOUT=Phoca Guestbook
PHOCAGUESTBOOK LAYOUT DESC=Phoca Guestbook
PHOCA GUESTBOOK DESC=This view shows Phoca Guestbook
SELECT GUESTBOOK DESC=Select the Guestbook
CHANGES TO PHOCA GUESTBOOK GUESTBOOK SAVED=Changes to Guestbook Saved
CHANGES TO PHOCA GUESTBOOK ITEM SAVED=Changes to Item Saved
ERROR SAVING PHOCA GUESTBOOK GUESTBOOK=Error Saving Guestbook
ERROR SAVING PHOCA GUESTBOOK ITEM=Error Saving Item
ERROR DELETING PHOCA GUESTBOOK GUESTBOOK=Error Deleting Guestbook
ERROR DELETING PHOCA GUESTBOOK ITEM=Error Deleting Item
EDIT PHOCA GUESTBOOK GUESTBOOK=Edit Guestbook
EDIT PHOCA GUESTBOOK ITEM=Edit Item
SELECT GUESTBOOK=Select Guestbook
YOU MUST SELECT A GUESTBOOK=You must select a guestbook
GUESTBOOK MUST HAVE A TITLE=Guestbook must have a title
PHOCA GUESTBOOK GUESTBOOK DELETED=Guestbook Deleted
PHOCA GUESTBOOK ITEM DELETED=Item Deleted
PHOCA GUESTBOOK WRONG CAPTCHA=The Captcha code you have entered is wrong. Please, tr
y it again
CONTENT=Content
IMAGE VERIFICATION=Image Verification
CAPTCHA IMAGE=Captcha Image
RELOAD IMAGE=Reload Image
SUBMIT=Submit
RESET=Reset
GUEST=Guest
USERNAME=Username
GUESTBOOK=Guestbook
A LONG NAME TO BE DISPLAYED IN HEADINGS=A long name to be displayed in headings
A SHORT NAME TO APPEAR IN MENUS=A short name to appear in menus
IMAGE=Image
IMAGE POSITION=Image Position
PHOCA GUESTBOOK ITEM SAVED=Thank you for your entry
REQUIRE TITLE=Require Title
REQUIRE TITLE DESC=Require Title in Guestbook
REQUIRE USERNAME=Require Username
REQUIRE USERNAME DESC=Require Username in Guestbook
REQUIRE EMAIL=Require Email
REQUIRE EMAIL DESC=Require Email in Guestbook
REQUIRE CONTENT=Require Content
REQUIRE CONTENT DESC=Require Content in Guestbook
FONT COLOR=Font Color
FONT COLOR DESC=Change Font Color
SECOND FONT COLOR=Second Font Color
SECOND FONT COLOR DESC=Change Second Font Color (Date Font color)
BACKGROUND COLOR=Background &olor
BACKGROUND COLOR DESC=Change Background Color
BORDER COLOR=Border Color
BORDER COLOR DESC=Change Border Color
PHOCA GUESTBOOK NO TITLE=Please enter a title
PHOCA GUESTBOOK BAD TITLE=Title you have entered contains bad characters
PHOCA GUESTBOOK NO USERNAME=Please enter your username
PHOCA GUESTBOOK BAD USERNAME=Username you have entered contains bad characters
PHOCA GUESTBOOK USERNAME EXISTS=This username already exists
PHOCA GUESTBOOK NO EMAIL=Please enter your email address
PHOCA GUESTBOOK BAD EMAIL=Please enter valid email address
PHOCA GUESTBOOK EMAIL EXISTS=This email already exists
PHOCA GUESTBOOK NO CONTENT=Please enter content
PHOCA GUESTBOOK BAD CONTENT=Content you have entered contains bad characters
#v1.0.1
FORM POSITION=Form Position
FORM POSITION DESC=Select the positon of the Phoca Guestbook form in the frontend
TITLE=Title
NAME=Name
EMAIL=E-mail
#v1.1.0
IP=IP
PHOCA GUESTBOOK IP BAN=You cannot add new message because your IP is banned
PHOCA GUESTBOOK IP BAN NO ACCESS=You cannot add new message because your IP is banne
d.
PHOCA GUESTBOOK REG USER ONLY=Only registered users can add new message
PHOCA GUESTBOOK REG USER ONLY NO ACCESS=Only registered users can add new message. P
lease login.
REGISTERED USERS ONLY=Registered Users Only
REGISTERED USERS ONLY DESC=If yes, only registered users can add new messages
FORBIDDEN WORD FILTER=Forbidden Word Filter
FORBIDDEN WORD FILTER DESC=Set forbidden words, which will be not displayed in the f
rontend.Separate each words with semicolon (;)
FORBIDDEN WHOLE WORD FILTER=Forbidden Whole Word Filter
FORBIDDEN WHOLE WORD FILTER DESC=Set whole forbidden words, which will be not displa
yed in the frontend. Separate each words with semicolon (;)
IP BAN=IP Ban
IP BAN DESC=Add the IP(s) you want to block to the IP(s) Ban list. Separate each IP
with semicolon (;)
MAXIMUM CHARACTERS=Maximum Characters
MAXIMUM CHARACTERS DESC=Set maximum of characters, they can be saved in database (Do
n't forget that e.g. URL link 'link' has not 4 characters but e.g. 39: (a href=&q
uot;http://www.link.xxx/")link(/a) )
MAXIMUM URL=Maximum URL
MAXIMUM URL DESC=Set maximum of URL links, they can be displayed in a message (0: no
URL links will be displayed in messages, -1: all URL links will be displayed in mes
s
ages, e.g. 3: Only tree URL links of all URL links will be displayed in messages)





If you look at the phocaguestbook.xml file, you will see, that there is used language file for frontend and backend:


<!-- Language -->
<languages>
<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>
</languages>

<administration>
<!-- Language -->
<languages>
<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>
</languages>
</administration>





Yes, I will appreciate your Italian language file....

Jan
If you find Phoca extensions useful, please support the project
Gargarospo
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Dec 2007, 18:22
Location: Italy

Yes, yes, I already

Post by Gargarospo »

Yes, yes, I already found out those words fo the form.
And I understand now that I only had to configure better the xml file, no need to add files to the /front directory of the package.

I'm going to send you the ini files by email to the address of the author reported in phocaguestbook.xml file.

Bye!
Michele
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Great, it's me.

Post by Jan »

Great, it's me. Thank you. Jan
If you find Phoca extensions useful, please support the project
Post Reply