Author Topic: 1.4.1 - Norwegian fix attempt  (Read 573 times)

Offline Alex

1.4.1 - Norwegian fix attempt
« on: December 01, 2016, 12:49:29 PM »
Plz let me know if it works :parrot:
I am the Financier owner/admin/coder dude.

Offline cracksys

Re: 1.4.1 - Norwegian fix attempt
« Reply #1 on: December 01, 2016, 07:33:31 PM »
I can't read Norwegian but I'm sure whatever ya did had fixed it  :parrot:

Offline olaix

Re: 1.4.1 - Norwegian fix attempt
« Reply #2 on: December 04, 2016, 04:12:50 AM »
I didn't notice until now - I'll test it asap. Works in chrome on android, at least 😊

Offline olaix

Re: 1.4.1 - Norwegian fix attempt
« Reply #3 on: December 04, 2016, 01:42:37 PM »
Works like a charm in Chrome, Firefox and Opera. Edge and IE won't play along, still. The console has some errors, which may or may not be relevant? 

ETA: I don't care much for Edge/IE so as long as Chrome is fine: I'm a happy camper :)
« Last Edit: December 04, 2016, 01:47:27 PM by olaix »

Offline olaix

Re: 1.4.1 - Norwegian fix attempt
« Reply #4 on: December 07, 2016, 12:53:48 PM »
So; I found the time to have a look at this again:

If the browser sends locale AND country (nb-NO, es-SE, de-DE) the app is shown in english. When only the locale is sent (nb, es, de) the app is shown in the correct language.

Suggested fix: Since some browsers send locale AND country and some don't, just split the string and use locale only.