Add language picker to post form
What does this PR do? Continuation of !10602 (merged) and !10603 (merged), fixes #9692. This adds a language picker to the compose form UI that allows users to specify the language a post is in. The "Auto detect" option uses tinyld to detect the post language, much like the current behavior.
This is currently a draft because while this works and can be used, there's still a few more things that can be done to improve it. Here's a checklist of what I can think of at the moment:
-
Add search to the language picker dropdown -
Reduce height of dropdown -
Audit the revised langmap -
Unify/use langmap in more places
More testing is also needed to make sure this doesn't break things.
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request -
I have made sure to run pnpm run format
before submitting this pull request
If this merge request makes changes to the Firefish API, please update docs/api-change.md
-
I updated the documentation