» posted on 5:56pm - June 21 2009 | posted by Lev
Right now, what happens is when you view a page, any modules that are used need to require their language file first (as the language packs are modular, meaning there is a different language pack for each module in Theia).
what this means is that loading a pack can require 10 or more language files.
It would be nice if there was a way to compile different cached language files, which would contain all the language text from all the 10 modules that would be loaded. The tricky part would be that until the script is done executing, all the language packs being required won't be known, which means it would be too late to require the compiled language pack at the end.
If there was only some way of trying to guess, at the beginning of the script's execution, which language files will be needed.
--- "compiling/caching language files" has been viewed times ---







Copyleft 2010