Git Product home page Git Product logo

Comments (3)

blrhc avatar blrhc commented on June 25, 2024

I've seen a lot of projects use Transifex for localization, it does seem to allow communities to contribute.

from joystream-org.

DzhideX avatar DzhideX commented on June 25, 2024

Here's my 2 cents on this discussion. From my point of view there are 2 parts to this:

  • Getting a platform where users can come and translate the necessary text.
  • Taking that text and actually implementing it within our Gatsby React project.

When it comes to the first one there are multiple options:

  • The first and most obvious one would be GitHub. This would make it easiest for the developer as you could make a PR directly to the locales folder with the JSON containing all of the translations. That being said, this may alienate quite a bit of users who have never used GitHub before or aren't part of the dev community. This option would also not cost us any money.

  • As Ben suggested, the most popular localization platform that supports crowdsourcing is Transifex. There are other such popular platforms like Phrase, Lokalise and Smartling but I had a hard time finding anything specific in their docs/websites about being able to crowdsource our translations, whereas Transifex has a whole section about Crowdsourcing in their documentation. I would also like to add that none of these platforms have a free option for the scope of our project. Here are the pricing options for Transifex.

Regarding the second part, there are multiple libraries we can use to implement this functionality to the project. The two most popular libraries (based on number of downloads) are react-intl and react-i18next. These are both good choices. I've gotten react-i18next working locally myself already as a proof of concept but both should work fine!

Some things we should watch out for:

  • All of the designs on joystream-org have primarily been optimized for English. That means that if we want to translate into German(where the words are generally longer) for example, some content would be moved and it would probably look off in many places.

  • With the first point in mind but also the fact that there is a lot of content on the website, this is not really a trivial problem and may take some time to complete.

from joystream-org.

bedeho avatar bedeho commented on June 25, 2024

Great summary, thank you.

  • Lets keep going with Github for now, its closer to the model we want to keep. We dont need massive particpation in this translation exercise, so just getting a few solid languages to begin with is sufficient, and Github should not be a bottleneck for that. We could even have community members source translations from third parties, and then these community members use github to contribute it back.
  • Lets use whatever library you are most comfortable with and which reduces time to market.
  • Yes we have to watch out for this, so whoever is doing the merging should check this.

from joystream-org.

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.