Require users to choose a language when posting works instead of setting the language to English by default

Description

  1. Log in

  2. Post > New Work

  3. Scroll down

What happens

The "Choose a language" field is set to English by default.

What should happen

To reduce the number of works incorrectly labeled as English, the "Choose a language" field should not be set to any language.

The field should be marked required, in the same manner as all the other required fields, and it should actually be required. Failing to choose a language before previewing or posting should give a red flash error like:

Sorry! We couldn't save this work because:

  • Language cannot be blank.

Notes

This will likely require a lot of changes to the automated tests.

If is merged before this issue is done, the import work page will also need this treatment.

The page for editing multiple works should not need any changes... except possibly to prevent the new error from showing up if you leave the "Language" field blank.

Activity

Show:
mumble
October 6, 2019, 10:31 AM

Note: We want to do a short! news post announcing the change, and use the opportunity to also signalboost the language search options again from the cheat sheet post: https://archiveofourown.org/admin_posts/10851 (the announcement post can then be translated and shared widely)

redsummernight
October 24, 2019, 2:48 AM

should happen before the aforementioned news post as well.

Relle Veyér
November 11, 2019, 10:46 PM

When posting a test work, the language field appeared in red with an *, and did not default to English. When I tried to post without selecting a language, I got an error message saying the language cannot be blank. Seems good!

Sarken
November 12, 2019, 8:41 AM
Edited

Also got the thumbs up from Nary and McBangle

Nary notes:

I was testing something unrelated and got the "Language cannot be blank" error so I marked that I tested that (by accident)

DeployedToBeta

Assignee

enigel lj

Reporter

Sarken

Roadmap

Internationalization
Works

Priority

High

Affects versions

Fix versions

Components

AutomatedTests
FrontEnd

Difficulty

Medium

Milestone

Internal 0.9
Configure