Skip to content

Conversation

@tubby1981
Copy link

Translations

mokey supports multiple languages for its interface and email templates.

To configure translations:

  1. Place translation files in /etc/mokey/translations/. For example:
  • english.toml for English translations
  • dutch.toml for Dutch translations
  1. Update the configuration file /etc/mokey/mokey.toml with the following options:

#Default language for the site
#Languages supported: English (english), Dutch (dutch)
#Default is english
default_language = "dutch"

#Directory where translations can be placed
translations_dir = "/etc/mokey/translations"`

Users can translate mokey into their own language by creating a new .toml file in the translations_dir and referencing it in the default_language configuration. This allows for complete customization of the interface and email templates in the preferred language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant