Page MenuHomeWrite.as

Filter posts by language
Open, Medium-HighPublic1 Points

Description

Overview

Support viewing all posts on a blog with a specific language.

Background

Blog authors should be able to have e.g. both an English and Spanish home page.

  • Authors should be able to e.g. set a logo for each language
  • Verbiage for standard elements should be presented in the correct language

Implementation

Similar to when viewing hashtags, filter posts by stored language on this URL: e.g. /lang:es where es is the language code.

Design

The page should look exactly like the standard blog index page, but only containing the filtered posts.

Revisions and Commits

rWF WriteFreely

Related Objects

StatusAssignedTask
Openmatt

Event Timeline

matt triaged this task as Medium-High priority.Feb 12 2021, 9:20 PM
matt created this task.

Is the write.as web UI available in other languages (maybe through https://projectfluent.org/)? It isn't an short-term need, but may be nice to have some day for editors who's first language is Spanish. I didn't see a setting in my account preferences, but maybe it's somewhere else

So far, unfortunately we've only localized reader-facing UI elements (email subscription form, "Read more" links, etc.). Would definitely like to localize the editing UI as well in the future! Thanks for sharing that tool, I haven't heard of it.

Ah cool no worries. Yes Project Fluent is great, we've started using it where I work. It addresses the shortcomings of GNU Gettext (you can actually have variations of the same translation when different languages don't have a one-to-one conversion for some phrases) and Mozilla has also created a nice web app to collaborate on translations: https://github.com/mozilla/pontoon/

matt added a parent task: Restricted Maniphest Task.Mar 9 2021, 6:12 PM
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 3 2021, 2:27 PM
matt added a commit: Restricted Diffusion Commit.Sep 13 2021, 8:23 PM

Still to do:

  • Support pagination

Questions to answer, either now or beyond this:

  • Should we provide navigation back to the language-specific home page when navigating from it to a post? (Right now, navigating to a post then clicking the title takes the user back to the standard all-languages home page)
matt added a commit: Restricted Diffusion Commit.Sep 14 2021, 3:24 PM
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.Tue, Sep 21, 5:15 PM
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.