GithubHelp home page GithubHelp logo

dongtianyi / js.ipfs.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ipfs-inactive/old-js-ipfs-website

0.0 1.0 0.0 5.68 MB

The Website for the JavaScript implementation of the IPFS protocol

Home Page: https://js.ipfs.io

License: MIT License

Makefile 0.06% Groovy 0.12% JavaScript 55.44% CSS 44.38%

js.ipfs.io's Introduction

The js-ipfs Project Website.

Table of Contents

TODO

Don't see the Website translated in your language? Help us by submitting a PR!

You can do it in 2 steps:

1. Add a line to the config to add your language to the supported list.

In the file intl/config, add a line for your language. Example, if you were to add Portuguese to:

module.exports = {
  defaultLocale: 'en',
  availableLocales: [
    { acronym: 'en', fullForm: 'English' }
  ]
}

You would only have to add the new language to the availableLocales array:

module.exports = {
  defaultLocale: 'en',
  availableLocales: [
    { acronym: 'en', fullForm: 'English' },
    { acronym: 'pt', fullForm: 'Português (PT)' }
  ]
}

2. Create the correct translation.

Copy one of the existing translations https://github.com/ipfs/js.ipfs.io/tree/master/intl/messages, rename it to the acronym of your language and then update each value to the correct translation. Example:

cp intl/messages/en.json intl/messages/pt.json 
edit intl/messages/pt.json 
# Now edit the file directly

When you are finished, submit it as a PR to this repo. Once it gets merged it will be live at js.ipfs.io

Development

TODO

js.ipfs.io's People

Contributors

satazor avatar daviddias avatar pedromiguelss avatar vasco-santos avatar hugomrdias avatar dongtianyi avatar fsdiogo avatar victorb avatar nipol avatar lidel avatar olizilla avatar

Watchers

James Cloos 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.