67033 - Platform localized constants has Any win, if Any appears first

Feedback Case Number: 67033

If you make Localized constants like:

Any - Default - File
Windows - Default - Test

Then “Test” will win on Windows. All good so far……

If you add some Languages also in between.

Any - Default - File
Any - German - Datei
Windows - Default - Test
Windows - German - Datei test

Now it will incorrectly pick “File” when it should be picking “Test” on Windows systems

Expected Result:
Platform specific constant should win over any.

Actual Result:
Any wins if it appears before the Platform specific one in the list.

Workarounds:
You can try to rearrange the list but there is no tool for it in Xojo and its risky since its unclear what you brake by having it in other order

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.