Upcoming IT Changes - Mon 28th Oct 0000 UTC (Part 3)

There’s probably some weirdness with the language settings from our app platform provider. It usually relies on the Accept-Language header or a cookie that is set specifying a language. There were always issues with people whose browser selected multiple languages in Accept-Language which is why the cookie exists but maybe they’ve changed it.

The multiple languages could also simply be you are in German but not all strings are translated yet.

1 Like

On my side sotadata page opened on computer is fine in English language with English flag.
On the iphone flag is English but contents in Polish - it was started from some time may be 1 year ago or so.
Before was in English same as on computer.

Sotawatch is fine in English on both computer and iphone.

73, Jarek

1 Like

Hi Andrew,
It seems that after a second change attempt, the text sorts itself out, all German or all English. Although a simple refresh doesn’t fix it, cycling through the change a second time does. I wonder if you see the same Richard?
Perhaps it’s a browser cache issue- let me try that and report back.

73 Ed.

TESTS:
Starting point - all in English:

Switch to German - all OK (I know the Spots/Alerts/Reflector posts text stays in English).

Switch back to English and all is OK - have you changed something Andrew? I have not cleared the Browser cache yet as I wanted to document status before and after - it seems things are now working as expected, at least on my PC - Richard, is all good with you now?

SORRY I spoke too soon!
The problem is back: - German selected but text in English - Browser cache clear makes no difference.

These tests done without logging in, so what is set for a Locale on the SSO page, should have no effect.

I’ve touched nothing. Out of interest is there any ad blockers or something that might object to a cookie?

There’s also been a ton of stuff related to cookie handling in recent times by browsers so it may be something in the backend. If I get a chance later I will take a look

Thanks, Andrew. I don’t have ad blockers installed; however, what Microsoft has in their latest version of Edge on Windows 11 (as I am running) is anyone’s guess!

73 Ed.

Having the same problem since months. But the other way around as i prefer to use the SOTA infrastructure in English.

Changing languages seems to work once but when I switch back again the flag on the right top changes but the text stays in the previously selected language. Experiencing this on SOTAwatch and SOTAdata too.

The only thing that works for me is to change the URL from …org.uk/de/ to …org.uk/en/

Using Firefox with all adblockers, … disabled for the SOTA websites!

I think it’s related to this. I’ve just set the handling to be Secure context only (no one access SW via non-HTTPS anyway - it can’t be done), and the change is building now. I can’t actually test prior to pushing due to the way the language redirects are handled, but give that a go and see if it’s better. If it’s completely broken, I’ll revert the change.

(Edit: Don’t think that’s done anything)

1 Like

It looks like the language preference set in the browser has priority over the manual choice in the drop-down menu.

If I change to the browser language to German and force reload it will use the first browser language.

The Flag Icon is changing when selecting another language but it does not change the URL so e.g sotadata.org.uk/en does not change to /de and vice-versa.

image

The SSO language (and/or browser language) is propably overruling the cookies setting (nf_lang)

I would say the logic should be:

1.) If SSO (KEYCLOAK_LOCALE) is not set and no nf_lang is set use the Browser language
2.) If SSO (KEYCLOAK_LOCALE) is set use it
3.) If nf_lang is not the same as SSO use the nf_lang

73 Joe

1 Like

Keycloak locale is completely ignored for anything but keycloak.

The problem sits in interactions between the cookies, the language redirects and the platform handling of the cookie being set.

3 Likes