Skip to content

swissspidy/preferred-languages

Repository files navigation

Preferred Languages

Latest Release) Commit activity Code Coverage License

A feature project for letting WordPress users set their site's language in a more sensible way.

What it does

This plugin lets you select multiple preferred languages in your settings. WordPress then tries to load the translations for the first language that's available, falling back to the next language in your list.

This works great when you want to display WordPress in a locale like German (formal) and have it fall back to informal German when there's no translation available.

Download

This GitHub repository holds the source files for the plugin. To download the final build, head over to WordPress.org.

Screenshots

Preferred Languages: Settings Section

Preferred Languages settings section

Preferred Languages: User Profile

A user’s individual list of preferred languages

Contributing

Please help test! Install the plugin and open issues for any bugs you might find.

To minify assets like JavaScript files and CSS when submitting a PR, run npm run build.

Also, please read all the blog posts tagged #preferred-languages on make/core and join the discussion in #core-i18n on the WordPress Slack team.