Giter Site home page Giter Site logo

whatpsule-client-translations's Introduction

WhatPulse Client Translations

Welcome to the repository for translations of the WhatPulse client. We use Qt as our coding framework, which provides a way to translate the client. This repository is where we keep track of the languages and translations that are used by the client.

We welcome all contributions: new languages or modifications to existing languages.

Contributing

There are two ways to contribute:

  • Create a PR in this repository,
  • or, if you're not familiar with GitHub, send the file to [email protected], and we'll add it for you.

Let's say you're creating a translation in German. Start with copying the whatpulse.ts.template file to a new file called whatpulse_de.ts. Then you have two options: open the file in a text editor, or use the Qt Linguist app.

I'd recommend Qt Linguist, as you can easily see which language strings are still to be translated. Find a standalone download here: https://github.com/lelegard/qtlinguist-installers/releases

Find more information about the Qt translation process, and the manual for Qt Linguist here: https://doc.qt.io/qt-5/linguist-translators.html

A few things to note:

  • There could be HTML in the language string. This could be a link or an HTML character. They usually include > and < - but not limited to that. Please keep those.
  • There could be spaces in the language string. Please keep those - they are there for a reason (i.e., extra spacing).
  • The letter before a & indicates that you can use that letter as a shortcut. If possible, keep them, unless the language you're working in does not have a convenient way to do this.

Testing a Translation

Starting WhatPulse v5.5, you can run the client via the below manner making it use a local translation file. First you need to "release" your translate, which creates .qm file. In Qt Linguist, the File menu has a Release As action, where it'll create the .qm file and ask you where to save it. Once it's saved, run the WhatPulse client via the command line.

Adjust the path to the WhatPulse client and translation .qm file as needed

macOS

  1. Open a Terminal.app window
  2. Run: /Applications/WhatPulse/WhatPulse.app/Contents/MacOS/WhatPulse --translationfile /path/to/your_whatpulse_translation.qm

Windows

  1. Open a Command window
  2. Run: C:\Program Files\WhatPulse\WhatPulse.exe --translationfile C:\path\to\your_whatpulse_translation.qm

You'll see logs appear in the command terminal, which will say something about the translation file and using it. Something like this:

21-08-2023 12:26:22.735  INFO Using a custom translation file:  "/Users/martijn/WhatPulse/client/languages/whatpulse_de.qm"

The logs will also tell you if there's something wrong with the translation file.

Contributors

Martijn
Martijn Smit
Y.
Y. Z. Chen
Remlej9/
Remlej9
Urbain/
Urbain
Richard
Richard Gráčik
jinai/
jinai
Radoslav
Radoslav Mandev
Stardisk/
Stardisk
#AA0000/
#AA0000
Éder
Éder Magalhães Machado
Krzysiek
Krzysiek Setlak
Finn/
Finn
Ink/
Ink
Miracle0565/
Miracle0565
Nickolas
Nickolas Gupton
suliveevil/
suliveevil

whatpsule-client-translations's People

Contributors

smitmartijn avatar geno1024 avatar remlej9 avatar github-actions[bot] avatar urbainn avatar themorc avatar aa0000-33 avatar stardisk avatar radotornado avatar jinai avatar edermachado avatar ksetlak avatar moweme avatar inktest avatar miracle0565 avatar corruptcomputer avatar suliveevil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.