Coder Social home page Coder Social logo

Comments (5)

dhoko avatar dhoko commented on August 18, 2024 1

We use crowdin for this task, there is an API which allows us to get the list of translators cf https://support.crowdin.com/api/export-top-members-report/

By default the sort is by: words.

from proton-mail-settings.

EpokK avatar EpokK commented on August 18, 2024

There is 2 different translation for ProtonMail webapp since we splitted settings and mail/contact. So the UI needs to collect translators from Crowdin API between these 2 templates.

Note

  • We collect data during the build process.
  • We display the last 30 translators, the design need to be updated @jovanjovanovski.
  • We need to keep in mind future web-app (Calendar, Drive, Wallet).

from proton-mail-settings.

dhoko avatar dhoko commented on August 18, 2024
$ npx proton-i18n crowdin -m

⚠️ we should not use this command inside the build process, we should instead run it from time to time. it's slow, several seconds

Output: src/i18n/topMembers.json (we copy this dir, during the build as it contains all translations, we will load the file via fetch)

ex:

[
    {"name":"pedro","url":"https://crowdin.com/profile/pedro"},
    ...
]

from proton-mail-settings.

sveinki avatar sveinki commented on August 18, 2024

A (veteran) translator here: Beware to get names of all active and former REAL translators from your script; quite often the line "Last-Translator: PMtranslator\n" gets inserted in the PO-files - "PMtranslator" is a bot or overnight maintenance-scripting.
Also if someone translates 99.9% of the file, then another one finishes the rest; both should be credited.
Best of course would be to have a system where the order is based on merit/activity, but I think that's perhaps a bit of an overkill in this case.

from proton-mail-settings.

sveinki avatar sveinki commented on August 18, 2024

That's cool, thanks for the link.

from proton-mail-settings.

Related Issues (20)

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.