Overview

Project website gitlab.com/rubdos/whisperfish
Instructions for translators

Whisperfish exists in a few languages already:

  • 🇩🇪 German (de), by Stephan Lohse

  • 🇪🇸 Spanish (es), by carlosgonz

  • 🇫🇮 Finnish (fi), by Markus entil Törnqvist

  • 🇫🇷 French (fr), by Thibaut Vandervelden

  • 🇭🇺 Hungarian (hu), by 1Zgp

  • 🇳🇱 Dutch (nl) and 🇧🇪 Belgian 🏴‍☠️ Arrrrgh Dutch (nl_BE) by Ruben rubdos De Smet and Nathan nthn.

  • 🇳🇴 Norse (no_NO), by Allan kingu Nordhøy

  • 🇵🇱 Polish (pl), by paytchoo

  • 🇵🇹 Portuguese (pt_PT), by Júlio iled

  • 🇹🇷 Turkish (tr), by Oğuz ersen Ersen

  • 🇨🇳 Simplified Chinese (zh_CN), by dashinfantry

    If you translated something, please update this list! These credits are really important to me 😄! I'm very grateful for this good work!

    Additionally, there's the small contributions of single words by many people on Weblate. The translations there are moving really fast, faster than we can update the above list. Thank you all who contributed!

    Translations are never complete, especially since Whisperfish is moving very fast. Our progress can be seen here:

    Whisperfish translation progress

How to update translations

There are two ways to contribute translations.

Via Weblate

We created a Weblate page. On that page, you can easily alter the translations via a web interface. These changes are then pushed by Weblate to our repository here.

Manually, with Git

If you prefer, you can manually edit the .ts files, or use the software of your choice to edit the Qt linguist files. Changing translations strings is pretty simple:

  1. Get in the repository

  2. Find your language in translations/, open the respective .ts file.

  3. Find the translatable string and change the contents between <translation> and </translation>. If the starting tag is <translation type="unfinished">, change it to <translation>.

  4. Save the file, commit (with a message saying you updated the translation), and make a merge request.

    Additionally, you may want to look specifically for strings with type="unfinished" (by using your text editor to search for "unfinished"), because those strings need to be looked after. Strings tagged with type="unfinished" have recently been touched in the application itself, may have changed their meaning slightly, or are entirely new.

    Qt Linguist is also an application with a GUI to facilitate translations. Essentially, using it will replace step 3. above. You can get Qt Linguist from the Qt bundle or you can just download the standalone app. Open the .ts file from within the app, then it will automatically detect and list the strings that need to be translated.

Translate Whisperfish a new language

If you would like to contribute a translation for a new language, you'll need a new translation file.

You can either use Weblate (see above), or manually add the file:

  1. First, you need to know your language identifier. Examples are nl_BE, nl, de, or zh_CN.

  2. Generate the translation file, execute the following command in the Whisperfish source's root directory:

lupdate qml/ -noobsolete -ts translations/harbour-whisperfish-$LANG.ts

This should generate a file translations/harbour-whisperfish-$LANG.ts. If you do not have the lupdate utility, [](Contact-Us), he'll create your file.

Important: please create a merge request as soon as you create your new file, before starting to translate. We've had it happen that two people write a complete translation from scratch one day apart.

About updating the QML files or English source material.

If you want to update the English translation, or when you make an update to the QML files, you'll need to update all the translation files, because they refer to specific line numbers in the source files. You can run ./update-translations.sh in the source directory for this.

You also need to run this script when the source material (English source translation) changes; this will update the source strings in the language files and will invalidate the translated strings.

You can only alter the English source language in the QML files. This is an artifact of how Qt Linguist seems works.

Project maintainers User avatar rubdos User avatar direc85
Translation license GNU Affero General Public License v3.0 or later
Translation process
  • Translations can be made directly.
  • Translation suggestions can be made.
  • Translations are reviewed by dedicated reviewers.
  • Any authenticated user can contribute.
  • The translation uses bilingual files.
Source code repository ssh://gitlab.com/whisperfish/whisperfish.git
Repository branch main
Last remote commit Translation file synchronisation 416d678a
Gitlab CI translation file sync authored yesterday
Last commit in Weblate Translated using Weblate (Spanish) 86681532
User avatar gallegonovato authored 2 days ago
Weblate repository https://hosted.weblate.org/git/whisperfish/whisperfish-application/
File mask translations/harbour-whisperfish-*.ts
Translation file Download translations/harbour-whisperfish-pt_BR.ts
Last change Oct. 30, 2024, 9:30 a.m.
Last change made by None
Language Portuguese (Brazil)
Language code pt_BR
Text direction Left to right
Number of speakers 192,661,560
Number of plurals 2
Plural type One/other
Plurals Singular 0, 1
Plural 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, …
Plural formula (n > 1)
yesterday

String statistics

Strings percent Hosted strings Words percent Hosted words Characters percent Hosted characters
Total 407 1,938 12,292
Approved 0% 0 0% 0 0% 0
Waiting for review 49% 203 42% 814 42% 5,229
Translated 49% 203 42% 814 42% 5,229
Needs editing 4% 20 7% 151 6% 814
Read-only 0% 0 0% 0 0% 0
Failing checks 1% 7 1% 11 1% 86
Strings with suggestions 0% 0 0% 0 0% 0
Untranslated strings 45% 184 50% 973 50% 6,249

Quick numbers

1,938
Hosted words
407
Hosted strings
49%
Translated
and previous 30 days

Trends of last 30 days

+7%
Hosted words
+100%
+5%
Hosted strings
+100%
−2%
Translated
+52%
Contributors
+100%
User avatar None

Resource updated

The “translations/harbour-whisperfish-pt_BR.ts” file was changed. yesterday
User avatar None

Resource updated

The “translations/harbour-whisperfish-pt_BR.ts” file was changed. 2 days ago
User avatar None

Resource updated

The “translations/harbour-whisperfish-pt_BR.ts” file was changed. 4 days ago
User avatar None

String added in the repository

 
4 days ago
User avatar None

String added in the repository

 
4 days ago
User avatar None

String added in the repository

 
4 days ago
User avatar None

String added in the repository

 
4 days ago
User avatar None

String added in the repository

 
4 days ago
User avatar None

String added in the repository

 
4 days ago
User avatar None

Resource updated

The “translations/harbour-whisperfish-pt_BR.ts” file was changed. 5 days ago
Browse all translation changes