Fix for other languages

Fix for the error:
Uncaught TypeError: Cannot read property 'locations' of undefined 

This is caused when you do not have a language EN or FR