Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swissspidy/preferred-languages
Choose languages for displaying WordPress in, in order of preference.
https://github.com/swissspidy/preferred-languages
internationalization localization wordpress wordpress-plugin
Last synced: 35 minutes ago
JSON representation
Choose languages for displaying WordPress in, in order of preference.
- Host: GitHub
- URL: https://github.com/swissspidy/preferred-languages
- Owner: swissspidy
- License: gpl-2.0
- Created: 2016-07-06T09:46:03.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-11-04T03:53:40.000Z (10 days ago)
- Last Synced: 2024-11-07T04:03:05.645Z (7 days ago)
- Topics: internationalization, localization, wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 38.7 MB
- Stars: 71
- Watchers: 13
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Preferred Languages
[![Latest Release)](https://img.shields.io/github/v/release/swissspidy/preferred-languages?include_prereleases)](https://github.com/swissspidy/preferred-languages/releases)
[![Commit activity](https://img.shields.io/github/commit-activity/m/swissspidy/preferred-languages)](https://github.com/swissspidy/preferred-languages/pulse/monthly)
[![Code Coverage](https://codecov.io/gh/swissspidy/preferred-languages/branch/main/graph/badge.svg)](https://codecov.io/gh/swissspidy/preferred-languages)
[![License](https://img.shields.io/github/license/swissspidy/preferred-languages)](https://github.com/swissspidy/preferred-languages/blob/main/LICENSE)A [feature project](https://make.wordpress.org/core/features/) 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](https://wordpress.org/plugins/preferred-languages/).
## Screenshots
![Preferred Languages: Settings Section](https://ps.w.org/preferred-languages/assets/screenshot-1.png?rev=1739409)
Preferred Languages settings section
![Preferred Languages: User Profile](https://ps.w.org/preferred-languages/assets/screenshot-2.png?rev=1739409)
A user’s individual list of preferred languages
## Contributing
Please help test! Install the plugin and [open issues](https://github.com/swissspidy/preferred-languages/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](https://make.wordpress.org/core/tag/preferred-languages/) on make/core and join the discussion in [#core-i18n](https://wordpress.slack.com/messages/#core-i18n) on the WordPress [Slack](https://make.wordpress.org/chat/) team.