Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Translate Mini Calendar
#1
Is possible I translated that mini calendar ?


Attached Files Image(s)
   
Reply
#2
This calendar is translated with this variable:

https://github.com/tsolucio/corebos/blob/master/include/language/pt_br.lang.php#L517

it looks correct in the latest version. What value do you have in that variable in your install?
Joe
TSolucio
Reply
#3
'LBL_JSCALENDAR_LANG' => 'br',
Reply
#4
Can you look in the javascript console to see if the file jscalendar/lang/calendar-br.js is loaded or you have some error related to this file?
Does the file exist in your install?
Joe
TSolucio
Reply
#5
Do you have this line of code in your Header.tpl file?

https://github.com/tsolucio/corebos/blob/master/Smarty/templates/Header.tpl#L68
Joe
TSolucio
Reply
#6
(03-02-2017, 05:26 PM)joebordes Wrote: Do you have this line of code in your Header.tpl file?

https://github.com/tsolucio/corebos/blob/master/Smarty/templates/Header.tpl#L68

yes

(03-02-2017, 05:25 PM)joebordes Wrote: Can you look in the javascript console to see if the file jscalendar/lang/calendar-br.js is loaded or you have some error related to this file?
Does the file exist in your install?

yes occurs an error ( see attached file )

(03-02-2017, 12:30 PM)rslemer Wrote: 'LBL_JSCALENDAR_LANG' => 'br',

if i set to 'en" mini calendar is displayed correctly

if i set to 'br' mini calendar not is displayed anymore ..


Attached Files Image(s)
   
Reply
#7
the br translation was incorrect. I updated it here:

https://github.com/tsolucio/corebos/commit/0ccb379bfcb30db484eb9a2892a6327c6349814b

update your code and try again
Joe
TSolucio
Reply
#8
mini calendar is displayed now, but with wrong characters ( in file is ok, but when showed not ... )
Reply
#9
I see it correctly
send me a screenshot
Joe
TSolucio
Reply
#10
(03-12-2017, 12:30 AM)joebordes Wrote: I see it correctly
send me a screenshot

// full month names
Calendar._MN = new Array
("Janeiro",
"Fevereiro",
"Março",
"Abril",
"Maio",
"Junho",
"Julho",
"Agosto",
"Setembro",
"Outubro",
"Novembro",
"Dezembro");

Some modules work, another modules not

In panel works fine
in service contracts, opportunities, help desk, not ...


Attached Files Image(s)
   
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)