Coder Social home page Coder Social logo

Comments (8)

MKorostoff avatar MKorostoff commented on July 20, 2024 8

If you'd like to make a translation, you should do the following:

  1. Create a fork of the repo
  2. Edit the file index.html to replace the english text with your preferred language.
  3. Publish your work with github pages.

I'll be happy to link to your translated version from the original. If you have knowledge of web development, you can also clone the repository and fundamentally alter the content to be more relevant to your country, since this is very US centric.

I am not going to merge translations back into this repository for the following reasons:

  1. I do not want to become a bottle neck or in any way constrain the creativity of volunteer translators. A lot of people have reached out to me about translations, I've actually lost count of the number. Some want to make local versions about wealthy people in their country, some just want to do a word-for-word translation of the original. I support both of these ideas, and I want everyone to be totally free to translate or restructure the page as they see fit, without worrying about compatibility with a master template.
  2. I do not want to take editorial and/or legal responsibility for content I did not author in a language I do not speak. I've chosen all of my words very carefully in this project to ensure maximum factual accuracy and avoid libelous assertions. I can't guarantee a volunteer translator will do the same. You can publish any content you like, but I am not going to put my name on it, especially if I cannot read the language it's written in.
  3. Adding translation probably demands some technical solution to accommodate language switching—either at build time, or through client side rendering, both of which were discussed earlier in this thread. This would instantly transform this page from a flat, plain HTML file anyone can understand and edit into an advanced web application only comprehensible to professionals. Not only does this exclude a huge portion of people who otherwise could have participated in translation, but it also makes the page way more annoying for me personally to maintain. This project follows the philosophy of mf webpage, now and forever. I do want an npm install, a babel transpile, or scss compile. I do not want a content abstraction layer, a front end framework, or client side rendering. I want plain HTML, period. That said, if you do want some of these features, I say go for it. Fork the repo and get as advanced as you like, I won't be offended by this, and I'll be excited to see what you've built.

from 1-pixel-wealth.

EatTheRichTextFormat avatar EatTheRichTextFormat commented on July 20, 2024 2

I think it would be nice to separate content from HTML (so translators don't have to bother with HTML, and translations can benefit from future updates) and have begun work on a mockup of how this could work here.

from 1-pixel-wealth.

EatTheRichTextFormat avatar EatTheRichTextFormat commented on July 20, 2024 1

No jquery used, just plain JS 😄 But I agree, it's up to @MKorostoff, I just wanted to make a proof of concept and got a little carried away. I'm willing to go the generator -> static files route if that's what he decides. One of the neat things about separating the content from the HTML is that it's actually not that hard to make the switch.

from 1-pixel-wealth.

MKorostoff avatar MKorostoff commented on July 20, 2024

Translations would be great! You can make a fork of this repository and change the text right in the browser. Once you publish on GitHub pages I'll link to it on the original.

from 1-pixel-wealth.

Celestou1818 avatar Celestou1818 commented on July 20, 2024

Starting a French translation, if anyone is keen to help with coding let me know, I can just deal with the data

from 1-pixel-wealth.

PauloQuerido avatar PauloQuerido commented on July 20, 2024

I'm going to translate this to european portuguese. There is a good brasilian portuguese translation already, but we treat some number differently. 1 billion is 1 bilhão in Brazil but 1.000 milhões (1.000 millions) in Portugal.

from 1-pixel-wealth.

jhoon avatar jhoon commented on July 20, 2024

Already added a Spanish-translated version on #14, which is using static files on another structure, but will definitely help if you decide on going the separate translated files route.

The jquery JS approach is great @EatTheRichTextFormat, but I think it'll be up to @MKorostoff to decide whether to use another strategy for this -using a generator engine would be great, though.

Edit: sorry I misquoted your approach!

from 1-pixel-wealth.

hmijail avatar hmijail commented on July 20, 2024

@jhoon , I bow out then from the Spanish translation - I am not a web dev and surely I'd be slower doing this. (I'll keep watching in case I can help anyway)

from 1-pixel-wealth.

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.