fix for #1730 component i18n

all tests passed  
I tested it and it works now :smile_cat:  
tested with `component install timaschew/moment@develop`
the language loader is generated with a grunt task, it resolves require paths for every language key at **build time**, to avoid a require with a variable