Fix problem viewer for Norwegian (and some other languages)

Post Reply
stianv
Posts: 2
Joined: Thu Dec 27, 2012 2:47 pm

Fix problem viewer for Norwegian (and some other languages)

Post by stianv »

The JavaScript problem viewer will not show up on browsers with e.g. Norwegian as language preference, since /js/tr/nb.js doesn't exist. Suspect this is also the case for other languages where no internationalization is currently provided. Could this site fall back to /js/tr/en.js for these languages? Workaround until that time would be for users to alter the language preferences in the browser like this https://www.w3.org/International/questi ... priorities. I think this is quite urgent, given that people with these language preferences would be likely to give up on the site (which would be a shame since the site is so good :P)
User avatar
adum
Site Admin
Posts: 422
Joined: Tue Sep 30, 2008 5:09 pm

Re: Fix problem viewer for Norwegian (and some other languag

Post by adum »

Ah for some reason it was looking for 'nb.js' and not 'no.js', which is where the Norweigen translations were. Should be working now.
stianv
Posts: 2
Joined: Thu Dec 27, 2012 2:47 pm

Re: Fix problem viewer for Norwegian (and some other languag

Post by stianv »

Nice, seems to be working now, thanks a lot :)
Post Reply