View Single Post
Old 09-19-2011, 10:54 PM   #545
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Mark Nord View Post
Another thought:
define var L = Core.lang.getLocalizer("Calendar");
in the startup-code (Calendar.js) and export it via kbook.autoRunRoot.sandbox.L = L;
In calendar.js it should be possible to use
L = kbook.autoRunRoot.L;
and then
L("anyString");

As Sim dosn't read lang.ods you will have to copy appropriate xx.js language files (e.g. from a beta-build) to eBookSim\core\lang
HTH
Mark
Hi Mark,

That makes sense. I will try this when I get a chance...

Sincerely,
Ben.
BenChen is offline   Reply With Quote