Releases: fabiohuwyler/Dark-Palette
Release list
1.1.0
Dark Palette 1.1.0
Dark Palette 1.1.0 is a major step towards making the plugin feel like a native part of the WordPress ecosystem.
This release introduces full internationalization, bundled translations, JavaScript localization for the block editor, and a new live palette preview.
✨ New
🌍 Multilingual support
Dark Palette now automatically follows the language configured under Settings → General → Site Language.
Included languages:
- 🇬🇧 English
- 🇩🇪 German (
de_DEandde_CH) - 🇫🇷 French
- 🇮🇹 Italian
- 🇪🇸 Spanish
No additional configuration is required.
📝 Complete WordPress internationalization
The plugin is now fully internationalized.
Translated components include:
- Settings page
- Appearance Toggle block
- Block inserter
- Post/Page editor sidebar
- Inspector controls
- Context exclusion settings
- Default frontend messages
- Block metadata
JavaScript translations are shipped using WordPress' native JSON translation format, while PHP translations are provided through.poand.mofiles.
A.pottemplate is also included, making it easy for contributors to add additional languages.
💬 Dynamic default frontend message
The default unavailable message is now translated automatically based on the site's language.
If no custom message is configured, visitors will see the translated default message.
Examples:
English
Dark mode is not available on this page.
German
Der Dunkelmodus ist auf dieser Seite nicht verfügbar.
French
Le mode sombre n'est pas disponible sur cette page.
Italian
La modalità scura non è disponibile per questa pagina.
Spanish
El modo oscuro no está disponible en esta página.
Custom messages continue to work as before.
🎨 Live palette preview
The settings page now includes a lightweight live preview.
As you edit your dark palette, the preview updates instantly to show:
- Background
- Text
- Links
- Buttons
- Accent colours
This makes creating a balanced dark palette much easier without constantly switching between tabs.
🔧 Improvements
- Dynamic translation of default labels
- Better language fallback behaviour
- Improved plugin architecture for future translations
- Translation-ready block metadata
- Translation-ready JavaScript
- Updated documentation
📁 Included translation files
dark-palette.potdark-palette-de_DE.po/.modark-palette-de_CH.po/.modark-palette-fr_FR.po/.modark-palette-it_IT.po/.modark-palette-es_ES.po/.mo
Plus the corresponding JavaScript translation JSON files for the block editor.
❤️ Thank you
Dark Palette continues to evolve into a native, modern dark mode solution for WordPress block themes.
Feedback, ideas and pull requests are always welcome!
🌐 https://github.com/fabiohuwyler/dark-palette