I have a project that requires a Serbian Latin language. I’ve added to translation manager the Serbian Latin language.
If I select Serbian Latin language via Language selector component on the screen or on the login screen it gets correctly selected. And if I check with system.util.getLocale(), it shows locale code ‘sr__#Latn’.
But if I want to set locale in client startup script or via button script with system.util.setLocale(‘sr__#Latn’), I’ll get error: ‘Invalid locale format: sr__#Latn’.
It appears to be a bug… but I don’t know where it is… in Ignition or in my head…
Oh, and I’m using the latest version 7.9.9.