Git Product home page Git Product logo

defold-doc's Introduction

Defold manuals

This repo holds the markdown source files and assets for Defold documentation. The files are processed by the Defold site project at https://www.github.com/defold/defold.github.io.

The www.defold.com site is automatically rebuilt via a repository_dispatch event generated from this workflow when changes are pushed to the this repository.

Information for translators

If you wish to contribute translations in your language we happily accept pull requests! Please read the following sections to learn how to get started, what to translate and so on.

Getting started as a translator

Start by forking the repository. The English master documentation and the translations can be found in the docs folder. If your language doesn't already exist then create a new folder with the two-letter language code for your language (zh for Chinese, pt for Portuguese etc) and a sub-folder named "manuals". You are now ready to start translating the manuals!

What to translate

Translate the manuals found in the English master documentation (i.e. in "docs/en/manuals") one-by-one. Start by translating the introduction.md and then proceed with the pages such as addressing.md, building-blocks.md and any of the other pages describing the basics of the engine.

You can also translate shared text snippets in "docs/en/shared". These short texts are often included and used in multiple manuals.

NOTE: Please do not contribute machine translated manuals!

Translate important concepts

It is recommended to translate but also show the English words for key concept of the Defold engine such as "game object", "collection", "factory" and "component":

Examples for Polish:

  • obiekty gry (ang. game object)
  • pełnomocnik kolekcji (ang. collection proxy)
  • fabryka (ang. factory)

Do NOT translate keyboard shortcuts

Do not translate things such as keyboard shortcuts as those are still in English in the editor:

<kbd>Edit ▸ World Space</kbd>;

Translate user actions

You should however translate actions the user should perform:

<kbd>drag</kbd> and <kbd>drop</kbd>
    
-- Polish
<kbd>przeciągnij</kbd> i <kbd>upuść</kbd>

Translate links

Markdown links should be translated:

[addressing manual](/manuals/addressing)

-- Polish
[Instrukcji adresowania](/manuals/addressing)

Do NOT translate API functions

References to Defold API functions, messages or ids should not be translated:

`init()`, `update()`, `on_message()`, `go.animate()` etc
`set_parent`, `enable`, `disable` etc
`bean`, `buddy`, `controller`, `team_1` etc

Do NOT translate code snippets

Comments in code snippets should not be translated

Do NOT translate special markup

The ::: sidenote and ::: Important markup should not be translate (although the content inside should of course still be translated):

::: sidenote
This text inside the sidenote should be translated but NOT 'sidenote' above
:::

::: important
This text inside important note should be translated but NOT 'important' above
:::

defold-doc's People

Contributors

britzl avatar sicher avatar cocosgames avatar niko-mclys avatar agulev avatar mathiaswking avatar vlaaad avatar paweljarosz avatar jcash avatar danengelbrecht-king avatar felipen21 avatar jhonnyg avatar johan-becknoren-king avatar hapass avatar rgrams avatar dependabot[bot] avatar subsoap avatar axelhammarback avatar theking0x9 avatar flexyourbrain avatar zugzug90 avatar andsveking avatar ufgo avatar wistpotion avatar jhonnyking avatar astrochili avatar dapetcu21 avatar quebec-eric avatar elpidoforosgkikas avatar mikatuo 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.