Opened 10 years ago

Closed 10 years ago

#2079 closed defect (wontfix)

language fallback mechanism could be more robust

Reported by: StefanB Owned by: Tom Hughes
Priority: major Milestone:
Component: admin Version:
Keywords: Cc:

Description

There seems to be some sort of an error in Slovenian translation on page http://www.openstreetmap.org/browse/way/27028715 which works perfectly with English locale.

My guess is that either some interpolation strings don't match the en.yml or there is some pluralization issue (missing key...). In such cases the server could fallback to English (or whatever language is next on user's preference list :)).

Unfortunately the server hides the actual error with a generic error page, which tells us nothing about specific error.

Alternatively translations could be more thoroughly checked (pluralization keys, interpolation strings...) before using them (/scripts/locale/diff doesn't do that yet).

Change History (1)

comment:1 Changed 10 years ago by Tom Hughes

Resolution: wontfix
Status: newclosed

The --validate-variables switch to scripts/locale/diff will tell you about variable mismatches and pluralization keys should show up in the normal key matching that it does surely?

Anyway broadly speaking this bug is too non-specific to be able to do anything with so if you have concrete suggestions for changes then please raise those as individual bugs.

Note: See TracTickets for help on using tickets.