Skip to content

Releases: fabiohuwyler/Dark-Palette

Release list

1.1.0

Choose a tag to compare

@fabiohuwyler fabiohuwyler released this 14 Jul 20:51
8dc9a5d

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_DE and de_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 .po and .mo files.
    A .pot template 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.pot
  • dark-palette-de_DE.po/.mo
  • dark-palette-de_CH.po/.mo
  • dark-palette-fr_FR.po/.mo
  • dark-palette-it_IT.po/.mo
  • dark-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

1.0

1.0

Choose a tag to compare

@fabiohuwyler fabiohuwyler released this 14 Jul 20:48
8dc9a5d

Initial Releaase