From 4e17b11c49a4d6c7331c08acd126683324097cf6 Mon Sep 17 00:00:00 2001 From: erinn Date: Mon, 18 Mar 2019 13:14:23 -0700 Subject: [PATCH] Update 'README.md' --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85c5b49f..f0e7c91b 100644 --- a/README.md +++ b/README.md @@ -46,14 +46,20 @@ Currently you will need to manually run tor first before running cwtch.im/ui. Us ## Translations +(If you'd like to add a new translation, feel free to open an issue and we can generate the .ts file for you to edit by hand, or in QT Linguist!) + ### Add new translation -Edit `ui.pro` and add a new line in the variable definition for `TRANSLATIONS` like: +1. Edit `ui.pro` and add a new line in the variable definition for `TRANSLATIONS` like: TRANSLATIONS = i18n/translation_en.ts \ i18n/translation_de.ts -Then to update and generate your new translation file, run `lupdate ui.pro` and you will find your new file in the `i18n/` directory. +2. Edit `qml.qrc` and add a new line near the other translation files like: + + \i18n/translation_de.qm\ + +3. To update and generate your new translation file, run `lupdate ui.pro` and you will find your new file in the `i18n/` directory. ### Updating translations