Fix problem viewer for Norwegian (and some other languages)

Fix problem viewer for Norwegian (and some other languages)

Postby stianv on Sat Aug 18, 2018 9:34 am

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/questions/qa-lang-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)
stianv
 
Posts: 1
Joined: Thu Dec 27, 2012 2:47 pm

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

Postby adum on Sun Dec 02, 2018 3:33 pm

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.
User avatar
adum
Site Admin
 
Posts: 384
Joined: Tue Sep 30, 2008 5:09 pm


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 3 guests

cron