From 0a94d7d55d4c5ebc48a554b9f7ace6c12464f176 Mon Sep 17 00:00:00 2001 From: AT Date: Fri, 12 Jul 2024 14:27:57 -0400 Subject: [PATCH] Update contributing_translations.md Signed-off-by: AT --- gpt4all-chat/contributing_translations.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gpt4all-chat/contributing_translations.md b/gpt4all-chat/contributing_translations.md index 2d6a4dac..a4eb0ae2 100644 --- a/gpt4all-chat/contributing_translations.md +++ b/gpt4all-chat/contributing_translations.md @@ -46,6 +46,14 @@ After installation you should be able to find the Qt Linguist application in the located on your local filesystem after cloning the repository. - If the file does not exist yet for the language you are interested in, then just copy the english one to a new file with appropriate name and edit that. + +## How to see your translations in the app as you develop them +![Peek 2024-07-12 14-22](https://github.com/user-attachments/assets/6ff00338-5b49-4f97-a0d4-de96f3991469) +- In the same folder that where your models are stored you can add translation files (.ts) and compile them + using the command `/path/to/Qt/6.7.2/gcc_64/bin/lrelease gpt4all_{lang}.ts` +- This should produce a file named `gpt4all_{lang}.qm` in the same folder. Restart GPT4All and you should + now be able to see your language in the settings combobox. + ## Information on how to use Qt Linguist