Code Monkey home page Code Monkey logo

coggle-translations's Introduction

Coggle Translations

Help translate Coggle into your native language!

This repository holds translations of Coggle's interface into different languages, what's in the production branch should match what's live on the site – so if you see a mistake, submit a pull request to fix it!

We use l20n for our translations, so for a guide to the syntax of our l20n files you can read the l20n tutorial. We use some html in our translations,

Contributing Improvements

We accept pull-requests to the master branch, which we'll then test and merge into the production branch (at which point they will automatically be deployed to the live site).

To make a pull-request you'll first have to fork this repository, make and commit your changes back to github. If you're new to Github here's a great guide to the process.

Creating a new Language

To create a new language, in your own fork of the repository:

  1. Create a new file, named after the language code for the language you want to translate, for example the British-English translation is in a file called en-GB.l20n.

  2. Add your language to the locales list in the manifest.json file.

  3. Start adding translations to your file!

  4. Then submit a pull request for us to add the language. You can do this as soon as your file has any translations (it doesn't have to be complete!). Before your pull-request can be accepted you need to agree to our contributor agreement, which gives us the necessary permissions to use your translations on the live site.

  5. As you make and commit new changes, they will appear on the existing pull request (until that is merged), after that you should open a new pull requests to update the main Coggle/translations repository with your changes. You may have to sync your fork to pull in other people's changes, too.

Translating Text

If there's a specific bit of text in Coggle that you want to translate, first find that in the en-GB or en-US translations (which we maintain), then copy and paste it into your own translation file.

For example, to translate the "Unleash Your Creativity" section from the homepage, you would copy this:

<index-description """
  <h1>Unleash your creativity</h1>
  <p>
     Produce beautiful notes, quickly and easily.
     Share them with friends and colleagues to enhance your ideas collaboratively.
     All for free!
  </p>
  <p>
     <a><span><b>Get started now! </b></span></a>
     <a><span>Or, read more.</span></a>
  </p>
""">

This is a fairly complex translation element, with bits of html mixed in - when you translate you need to leave the same html elements in there, but you can change any of the text.

Questions? Feedback?

If you want to contribute but have any questions / don't know how to get started, just drop us an email at [email protected], and we'll do our best to get you started!

coggle-translations's People

Contributors

autopulated avatar baguzzzaji avatar bobchao avatar headlessme avatar junyih avatar m05quit0 avatar morizotter avatar raitobezarius avatar rigward avatar tarcnux avatar

Watchers

 avatar  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.