fix for #1730 component i18n

all tests passed  
I tested it and it works now :smile_cat:  
tested with `component install timaschew/moment@develop`
because require with a variable is not a good practice, now the language loader is required and the key is passed