CoreBOSBB

Full Version: Translate Mini Calendar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is possible I translated that mini calendar ?
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?
'LBL_JSCALENDAR_LANG' => 'br',
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?
Do you have this line of code in your Header.tpl file?

https://github.com/tsolucio/corebos/blob/master/Smarty/templates/Header.tpl#L68
(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 ..
the br translation was incorrect. I updated it here:

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

update your code and try again
mini calendar is displayed now, but with wrong characters ( in file is ok, but when showed not ... )
I see it correctly
send me a screenshot
(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 ...
Pages: 1 2