Page 1 of 1

[Translation] Traditional Chinese Translation for 2.0.1

Posted: 18 Aug 2011, 10:38
by abokuo
Hello, i am glad to share Traditional Chinese translation for Phoca Guestbook v2.0.1, hope you can like it.
File location: http://www.mediafire.com/?76ih7a5g788htto

By the way, i found word-break problem while show message in Traditional Chinese, it may also at other 2-byte language like Korean, Japanese and Simplified Chinese.
I solve it by add html tag nobr at file (root)/components/com_phocaguestbook/views/guestbook/tmpl/default.php
line 241: Subject

Code: Select all

.'<td width="5"><strong>'.JText::_('COM_PHOCAGUESTBOOK_SUBJECT').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_title_form']).' </strong></td>'
change to

Code: Select all

.'<td width="5"><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_SUBJECT').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_title_form']).' </nobr></strong></td>'
line 249: Name

Code: Select all

.'<td><strong>'.JText::_('COM_PHOCAGUESTBOOK_NAME').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_name_form']).' </strong></td>'
change to

Code: Select all

.'<td><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_NAME').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_name_form']).' </nobr></strong></td>'
line 257: Email

Code: Select all

.'<td><strong>'.JText::_('COM_PHOCAGUESTBOOK_EMAIL').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_email_form']).' </strong></td>'
change to

Code: Select all

.'<td><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_EMAIL').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_email_form']).' </nobr></strong></td>'
line 265: Website

Code: Select all

.'<td><strong>'.JText::_('COM_PHOCAGUESTBOOK_WEBSITE').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_website_form']).' </strong></td>'
change to

Code: Select all

.'<td><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_WEBSITE').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_website_form']).' </nobr></strong></td>'
line 273: Content

Code: Select all

.'<td><strong>'.JText::_('COM_PHOCAGUESTBOOK_CONTENT').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_content_form']).' </strong></td>'
change to

Code: Select all

.'<td><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_CONTENT').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_content_form']).' </nobr>s</strong></td>'
line 288: Image Verification

Code: Select all

.'<td width="5"><strong>'. JText::_('COM_PHOCAGUESTBOOK_IMG_VERIFICATION').PhocaguestbookHelperFront::getRequiredSign(2).' </strong></td>';
change to

Code: Select all

.'<td width="5"><strong><nobr>'. JText::_('COM_PHOCAGUESTBOOK_IMG_VERIFICATION').PhocaguestbookHelperFront::getRequiredSign(2).' </nobr></strong></td>';

Re: [Translation] Traditional Chinese Translation for 2.0.1

Posted: 20 Aug 2011, 23:22
by Jan
Hi, thank you for your translation and thank you for the guide.

Jan