Blame

bf48e4 Hargata Softworks 2024-02-04 17:46 1
# Translations
2
3
LubeLogger supports UI Translations for ~95% of UI elements.
4
5
The following are not covered by translations:
6
- Toasts(messages that pop up on the top right)
7
- Sweetalert prompts(confirm delete dialogs, etc)
8
- About section
9
10
## Where to get translations
36cf98 Hargata Softworks 2024-02-04 20:24 11
Translations can be found at [this repository](https://github.com/hargata/lubelog_translations/)
bf48e4 Hargata Softworks 2024-02-04 17:46 12
13
1. To upload a translation file, login as the root user.
14
2. Navigate to "Settings"
15
3. Click "Upload" under the "Manage Languages" section
16
![](/Translations/a/image-1707068703210.png)
17
18
4. Select the language file you wish to upload
19
5. The page should refresh
20
6. Select the language file from the dropdown to set it as your default language.
21
22
## Creating your own translation
d7bebf Hargata Softworks 2024-02-04 17:56 23
1. Download the [latest en_US.json](https://github.com/hargata/lubelog/blob/main/wwwroot/defaults/en_US.json) file from the GitHub Repository for LubeLogger.
da3895 Hargata Softworks 2024-02-04 17:47 24
2. Rename this file, en_US is a reserved name.
25
3. Use a JSON pretty-printer to make it human-readable
bf48e4 Hargata Softworks 2024-02-04 17:46 26
![](/Translations/a/image-1707068227706.png)
27
28
3. The objects to the left of the ":" are the translation keys, DO NOT modify these.
29
4. The objects to the right of the ":" are the translation values(shown in green), these are what you want to translate.
30
5. To test out your translation, simply upload it to your LubeLogger instance and test it out.
da3895 Hargata Softworks 2024-02-04 17:47 31
bc8566 Hargata Softworks 2024-02-07 16:33 32
## Contribute
da3895 Hargata Softworks 2024-02-04 17:47 33
Follow the instructions outlined in the [official repository](https://github.com/hargata/lubelog_translations/)
bc8566 Hargata Softworks 2024-02-07 16:33 34
35
Translation efforts are coordinated via [this thread](https://github.com/hargata/lubelog/discussions/240)