Compile JS lang files before webpack compile

Merged Phil Hughes requested to merge assets-task-compile-langs into master

What does this MR do?

Compiles the language JS files before compiling webpack. Without doing this, the JS will throw errors with the locale not being available.

What are the relevant issue numbers?

Closes #35615 (closed)