I've just tested this myself on a fresh install with British English and Spanish and you're correct, there's a bug with the template file. You need to report this using the bug tracker, not here as this is for proposing new features or improvements to core. Once you've added a new ticket in the tracker, yourself or someone else can submit a pull request with the relevant fix.
Statistics: Posted by danieltj — Sun Sep 22, 2024 5:03 pm