Jump to content


Click here to lend your support to: Traq and make a donation at pledgie.com !
Photo

Simplified Chinese Localization


  • Please log in to reply
1 reply to this topic

#1 hightman

hightman

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 September 2010 - 01:24 PM

I found this great project today, I hurried to translate it.
Put the file into 'inc/locale/' will be ok.

Notice, there are 4 problems during my translation:
1. File 'templates/Traq2/view_ticket.php', there are a few words without put to locale language file, so I have to modify it as below: (mared as red color)
... about line 65 ...



... Default value of new tag 'by_x' in english can be: 'by {1}'.

2. Repeat item was found in language file, it is: $lang['admincp']

3. Templae file for reset password was lost,
ERROR: Unable to load file: Traq2/user/resetpass

4. I found ticket changes were saved into database after calling json_encode() directly, but when the change included multi-bytes characters (such as chinese in types or status text), the encoded result may have "\uxxxx\u...", so we should modify the code as following: (source file: handlers/ticket.php, line: 260)
...
'".$db->es(json_encode($changes))."',
...

--

Attached Files

  • Attached File  zhcn.php   18.74KB   6 downloads


#2 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 29 September 2010 - 10:02 AM

These have been fixed and are available in the git repo for Traq 2.1


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users