Support:Search Requirements: Difference between revisions

Line 15: Line 15:


===Localization===
===Localization===
The locale should be detected (and possible to override) like articles. Only the selected/detected locale should be searched. However, many locales will have incomplete translations, which means it would also list content not localized (using the same locale fallback mechanism as defined in [https://bugzilla.mozilla.org/show_bug.cgi?id=398353]). In summary, a search should return all results for the current locale + any remaining articles in the fallback locales, but it should never list the same article twice, even if it exists for two locales.
* A search should be performed on the current locale (as detected already by SUMO and shown in the URL)
*Many locales will have incomplete translations, so it would also list content not localized in en-US
*Logged in users should be able to specify another locale fallback order


In summary, a search should return all results for the current locale + any remaining articles in the fallback locale (en-US), but it should never list the same article twice, even if it exists for both locales.
Future: It should be possible to hard-code another locale fallback for some locales. For example, for the pt-BR locale, falling back to pt-PT first would be better than en-US.


===Ranking===
===Ranking===
1,623

edits