Jan 8, 2013 at 6:31 AM
Edited Jan 8, 2013 at 6:34 AM
A lot of libraries such as Dojo or Requirejs alow you to import any type of file (such as language files etc.) using AMD "Loader Plugins".
I have also found that this question is related to:
I believe that something like:
import text = module("Any text that I want! :o) ") as String;
would be general enough to work with any loader plugin.