Translations
LubeLogger supports UI Translations for ~95% of UI elements.
The following are not covered by translations:
- Toasts(messages that pop up on the top right)
- Sweetalert prompts(confirm delete dialogs, etc)
- About section
Where to get translations
Translations can be found at this repository
- To upload a translation file, login as the root user.
- Navigate to "Settings"
- Click "Upload" under the "Manage Languages" section
- Select the language file you wish to upload
- The page should refresh
- Select the language file from the dropdown to set it as your default language.
Creating your own translation
- Download the latest en_US.json file from the GitHub Repository for LubeLogger.
- Rename this file, en_US is a reserved name.
- Use a JSON pretty-printer to make it human-readable
- The objects to the left of the ":" are the translation keys, DO NOT modify these.
- The objects to the right of the ":" are the translation values(shown in green), these are what you want to translate.
- To test out your translation, simply upload it to your LubeLogger instance and test it out.
Contribute your translation
Follow the instructions outlined in the official repository