Language filtering of diary entries!!

makghosh's picture

This feature was originally proposed by Dan Karran as a comment in one of my earlier posts. Anyway, so here we have “show all / filter by my language” tags in the user diaries’ pages. By default, all entries are shown. We can click on ‘filter by my language’ so as filter the posts by the locale selected by the user in his prefernces. We can also have feeds for these filtered entries. The screen-shot of current diary entries page,
openstreetmap-language-filter-diary-entriesImage #1: openstreetmap-language-filter-diary-entries
And for this we need to specify the language of each diary entry. So new entry page has an option or rather a dropdown menu from where we select the language of the entry. This preference, by default takes the value of user’s current locale and is saved in language column of diary_entries table. The screen-shot of ‘new diary entry’ is as follows,
openstreetmap-new-diary-entryImage #2: openstreetmap-new-diary-entry
Also put up your suggestions… :)

Organization: OpenStreetMap Original: Source