Reload GetCapabilities when language change

Fix #1484 
Doesn't the `gaUrlUtils.isValid(url)` call in the `handleFileUrl` function check if url is defined? If so, the if statement here could be removed.