-
Notifications
You must be signed in to change notification settings - Fork 0
5 Customization
By default English and German translations are included and one can switch between the available languages in config/preferendum_features.php
(see defaultLocale). PREFERendum uses gettext for translation and based on the English strings in resources/locales/default.pot
one can create further translations, which have to be put into a separate sub folder (using ISO code as folder name).
New translations and corrections are highly welcome! You can either fork the source code from GitHub, make your changes and create a pull request or you can participate on Transifex: https://www.transifex.com/elth0r0/preferendum/
At the top of the CSS stylesheets, you'll find a list of CSS custom properties you can change to customize colors and some other layout/design related things.
Since v0.6.0 you can find a "light" and "dark" section in the stylesheets css/preferendum.css
and css/datepicker.css
, in which you can define the used colors for light/dark color theme. The option for the theme toggle is enabled by default and can be disabled by changing toggletheme to false
. If disabled, PREFERendum uses the "light" theme by default.