Preferred Languages

描述

Thanks to language packs it’s easier than ever before to change the main language of your site. However, in some cases a single locale is not enough. When WordPress can’t find a translation for the active locale, it falls back to the original English strings. That’s a poor user experience for many non-English speakers.

This feature project aims to change that by letting users choose multiple languages for displaying WordPress in. That way you can set some sort of 「fallback chain」 where WordPress tries to load translations in your preferred order.

Please help us test this plugin and let us know if something is not working as you think it should.

Get Involved

Active development is taking place on GitHub.

If you want to get involved, check out open issues and join the #core-i18n channel on Slack. If you don’t have a Slack account yet, you can sign up at make.wordpress.org/chat/.

螢幕截圖

  • The new language section in 'Settings' -> 'General'
  • The new language section in your user profile.

評價

Great plugin

We have struggled for years because 「French Canada」 is not as supported as 「French France」. It would take a huge amount of time to translate everything. We had the idea of creating a fallback plugin but what you started is simply great so we decided to use it and contribute to it instead of creating an alternative. Great work, Pascal.

閱讀全部4個評價

貢獻者及開發者

“Preferred Languages” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Preferred Languages 外掛目前已有 16 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Preferred Languages 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.5.0

  • Enhancement: Improved compatibility with multilingual plugins like Polylang.
  • Fixed: Fixes an issue with keyboard navigation.
  • Fixed: Make sure the correct languages are retrieved when updating the settings.

1.4.0

  • New: Keyboard navigation improvements.
  • New: Tooltips now show the available keyboard shortcuts.
  • New: Missing translations are now downloaded even when no changes were made.
  • New: A warning is shown when some of the preferred languages aren’t installed.
  • New: Settings form is now hidden when JavaScript is disabled.
  • Fixed: Improved setting the current locale.
  • Fixed: CSS is no longer enqueued on the front end.

1.3.0

  • New: Users can now choose English (United States) again as a preferred locale.
  • New: Users with the right capabilities can now install languages in their user profile as well.

1.2.0

  • Fixed: Other English locales can now be added again.
  • Fixed: Prevented some errors when adding all available locales.

1.1.0

  • New: Support for just-in-time loading of translations.
  • New: Keyboard shortcut for making inactive locales active.
  • Fixed: Responsive design improvements.
  • Fixed: Worked around a few edge cases with the various controls.
  • Fixed: Added missing text domains.

1.0.1

  • Fixed: Fixed a bug that prevented saving changes.

1.0.0

  • Initial release.