CoreBOSBB
Translate Mini Calendar - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Translate Mini Calendar (/showthread.php?tid=583)

Pages: 1 2


Translate Mini Calendar - rslemer - 03-01-2017

Is possible I translated that mini calendar ?


RE: Translate Mini Calendar - joebordes - 03-02-2017

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?


RE: Translate Mini Calendar - rslemer - 03-02-2017

'LBL_JSCALENDAR_LANG' => 'br',


RE: Translate Mini Calendar - joebordes - 03-02-2017

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?


RE: Translate Mini Calendar - joebordes - 03-02-2017

Do you have this line of code in your Header.tpl file?

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


RE: Translate Mini Calendar - rslemer - 03-11-2017

(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 ..


RE: Translate Mini Calendar - joebordes - 03-11-2017

the br translation was incorrect. I updated it here:

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

update your code and try again


RE: Translate Mini Calendar - rslemer - 03-12-2017

mini calendar is displayed now, but with wrong characters ( in file is ok, but when showed not ... )


RE: Translate Mini Calendar - joebordes - 03-12-2017

I see it correctly
send me a screenshot


RE: Translate Mini Calendar - rslemer - 03-12-2017

(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 ...