Language Fallback plugin (WordPress)

Uit De Vliegende Brigade
Versie door Jeroen Strompf (overleg | bijdragen) op 9 sep 2022 om 11:02
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen
Configuring the Language Fallback plugin

Language Fallback: A plugin to specifiy a fallback language. E.g.: When using de_DE-formal having de_DE as fallback (rather than English, which would be used otherwise).

Installation

wp plugin install language-fallback

Configuration - Webinterface

Configuration settings can be found directly under Settings:

wp-admin » Settings » General

There is only one setting: The fallback language - Very nice :)

Configuration - WP-CLI

The only configuration field, called fallback_locale is stored in table wp_options and can be manipulated using wp option. I only don't know, if setting this value through WP-CLI will trigger the application of the new setting, including the download of language packages.

Example:

$ wp option get fallback_locale

de_DE

Sources