Can't translate Department, Leave Type, Employment Types etc

FWIW this post outlines the corresponding client and server method code that sends the js code from the server to the client.

Note that in the get_js method, this line apparently runs language translation (I think) before the server sends the js off to the browser client