Automattic / Automattic/babble
Ability to set a preferred display order for switcher links
- Dominant language
- PHP
- Stars
- 250
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
Current display order (using `bbl_get_switcher_links`) is alphabetical based on language code. Which is a good, neutral starting point. But you can bet people will want it to sort in a particular order.
WPML offers drag-and-drop ordering:
http://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/

Maybe make the rows of the 'Available Languages' table sortable, à la 10up's Simple Page Ordering plugin:
http://wordpress.org/plugins/simple-page-ordering/
Contributor guide
Research direction
Start by reading the bbl_get_switcher_links entry point and locating the “Available Languages” table implementation. Determine how a saved language order would affect the switcher output, then verify that the configured order is preserved when links are displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100