Preferred Languages Feature Plugin Needs Testing

Preferred Languages Feature Plugin Needs Testing

Posted by WP Tavern on April 6, 2023 at 7:31 am
kitty kitty CATegory News
The Preferred Languages project is gaining some momentum with this week’s 2.0 release of the feature plugin. In 2017, WordPress Core Committer Pascal Birchler released a prototype that lets users select multiple preferred languages in their settings so that WordPress will load the first translation available, falling back to the next language in the list. “More than half of all WordPress sites in the world use a language other than US English,” Birchler said in a previous update. “For these sites and users, the options to change the site and user language are great. But when there’s no translation for a given plugin or theme, WordPress falls back to US English. That’s a poor user experience for many non-English speakers.” Version 2.0 introduces some major changes with a full refactoring of the UI to use React. (Previously it was using jQuery and jQuery UI.) Birchler removed the drag and drop sorting functionality to improve accessibility but users should find that almost everything the plugin still looks the same as before. This update also brings compaibility with with WP_Textdomain_Registry and switch_to_user_locale() for users on WordPress 6.1+ and brings unit test coverage to nearly 100%. The Preferred Languages plugin has more than 2,000 active installs but Birchler is calling for people to…

…Full post on WP Tavern
Read Full

Similar Posts

Leave a Reply