Language filtering of diary entries!!

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 preferences. We can also have feeds for these filtered entries. The screen-shot of current diary entries page,


Image #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,


Image #2: openstreetmap-new-diary-entry

Also put up your suggestions… πŸ™‚


6 responses to “Language filtering of diary entries!!

  1. English(US) seems a bit perverse on a British-originated Web-site.

  2. Arindam Ghosh

    Well, that was just on a test setup. Well, this can be changed to en-GB or more simply only ‘en’.

  3. Arindam Ghosh

    I don’t know why planet osm aggregated only this one of the last three posts. So do check the previous updates…

  4. fedorannouncement

    bangla banan gulo thik kore lekh πŸ˜€

  5. > bangla banan gulo thik kore lekh πŸ˜€

    Well, that’d be nice, but tbh it’s actually just really great to see Bangla content on the Net! Even if your post titles could be more creative πŸ˜‰

  6. That’s great, thanks for implementing that! πŸ™‚