Allow locale codes in the form xx-YY
It is currently only possible to add locales with filename 'xx.json'. Adding the locale file 'fr-BE.json' for example renders a blank screen. This error message is logged to the console:
Error: Cannor find module './fr-BE.js'.
This issue can be resolved by allowing the use of xx-YY.json files for localisation.