| 
<?php
 // locale: traditional chinese (zh-tw)
 // author: Ben https://github.com/ben-lin
 // author: Senorsen https://github.com/Senorsen
 // author: Tino Ehrich https://github.com/fightbulc
 
 return array(
 "months"        => explode('_', '??_??_??_??_??_??_??_??_??_??_???_???'),
 "monthsShort"   => explode('_', '1 ?_2 ?_3 ?_4 ?_5 ?_6 ?_7 ?_8 ?_9 ?_10 ?_11 ?_12 ?'),
 "weekdays"      => explode('_', '???_???_???_???_???_???_???'),
 "weekdaysShort" => explode('_', '??_??_??_??_??_??_??'),
 "weekdaysMin"   => explode('_', '?_?_?_?_?_?_?'),
 "calendar"      => array(
 "sameDay"   => '[??]',
 "nextDay"   => '[??]',
 "lastDay"   => '[??]',
 "lastWeek" => '[?]D',
 "sameElse" => '[?]D',
 "withTime" => 'H:i',
 "default"  => 'Y-m-d',
 ),
 "relativeTime"  => array(
 "future" => '%s?',
 "past"   => '%s?',
 "s"      => '??',
 "ss"      => '%d?',
 "m"      => '1 ??',
 "mm"     => '%d ??',
 "h"      => '1 ??',
 "hh"     => '%d ??',
 "d"      => '1 ?',
 "dd"     => '%d ?',
 "M"      => '1 ??',
 "MM"     => '%d ??',
 "y"      => '1 ?',
 "yy"     => '%d ?',
 ),
 "ordinal"       => function ($number, $token)
 {
 $symbol = null;
 
 switch ($token)
 {
 case 'd':
 case 'w':
 $symbol = '[?]';
 break;
 
 case 'n':
 $symbol = '[?]';
 break;
 
 case 'W':
 $symbol = '[?]';
 break;
 
 default:
 }
 
 return $number . $symbol;
 },
 "week"          => array(
 "dow" => 1, // Monday is the first day of the week.
 "doy" => 4  // The week that contains Jan 4th is the first week of the year.
 ),
 );
 
 |