Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
chinese lang bug
02-04-2013, 08:36 AM,
#1
chinese lang bug
hi,i use leto dms 3.4.2
when i use chinese lang pack
i found some translate was lost
so i translate some language
but when i translate the week
the Calendar with unknow code on the year view
i check code inc\inc.Calendar.php line 124

$dayNames = array();
foreach ( $dayNamesLong as $dn ){
$dayNames[] = substr($dn,0,3);//i changed here beacause chinese char was three byte
}

Reply
02-04-2013, 03:34 PM,
#2
RE: chinese lang bug
(02-04-2013, 08:36 AM)xcl3721 Wrote: hi,i use leto dms 3.4.2
when i use chinese lang pack
i found some translate was lost
so i translate some language
but when i translate the week
the Calendar with unknow code on the year view
i check code inc\inc.Calendar.php line 124

$dayNames = array();
foreach ( $dayNamesLong as $dn ){
$dayNames[] = substr($dn,0,3);//i changed here beacause chinese char was three byte
}

I'm not sure if this breaks other languages. German and english should be fine. What about other languages?

Uwe
Reply
02-05-2013, 09:08 AM, (This post was last modified: 02-05-2013, 09:08 AM by xcl3721.)
#3
RE: chinese lang bug
oh how about make the short of week on language file

(02-04-2013, 03:34 PM)steinm Wrote:
(02-04-2013, 08:36 AM)xcl3721 Wrote: hi,i use leto dms 3.4.2
when i use chinese lang pack
i found some translate was lost
so i translate some language
but when i translate the week
the Calendar with unknow code on the year view
i check code inc\inc.Calendar.php line 124

$dayNames = array();
foreach ( $dayNamesLong as $dn ){
$dayNames[] = substr($dn,0,3);//i changed here beacause chinese char was three byte
}

I'm not sure if this breaks other languages. German and english should be fine. What about other languages?

Uwe

oh how about make the short of week on language file
Reply
02-05-2013, 03:56 PM,
#4
RE: chinese lang bug
(02-05-2013, 09:08 AM)xcl3721 Wrote: oh how about make the short of week on language file

That's an option, too.

Uwe
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Contact Us | LetoDMS Community Forum | Return to Top | | Lite (Archive) Mode | RSS Syndication