Code Monkey home page Code Monkey logo

godot-docs-l10n's Introduction

Localization of Godot Engine documentation

This repository contains the localization templates and catalogs for the official documentation of the [Godot Engine project.

The source strings are extracted by sphinx-gettext from the godot-docs repository.

The translations are contributed through Hosted Weblate and synced manually in this repository.

How to

This repository is meant to be used by Godot Engine documentation maintainers, here's the workflow for reference:

Pull from Hosted Weblate

  • Commit all pending translations
  • Lock the repository
  • Pull translations locally in a clone of the Weblate working repository
  • Run list-authors.sh <commit hash> to list all new authors
  • Add them to the header of their respective weblate/*.po files

Commit to "production" repo

  • Copy weblate/*.po files from Weblate working repository
  • Run update.sh -wo to format Weblate .po files as expected by the script, commit
  • Pull docs submodule, update templates_list.txt if there are any changes in the table of contents (new/removed/moved pages)
  • Run update.sh -st to update Sphinx templates, commit
  • Run update.sh -wt to update the Weblate monolithic template based on Sphinx ones, commit
  • Run update.sh -wo to merge Weblate .po files with the updated template, commit
  • If any new locale has reached a satisfactory completion level, add it to build_langs.txt
  • Run update.sh -so to extract Sphinx per-page .po files from the monolithic Weblate .po files (slow process), commit
  • Push to GitHub

Unlock Hosted Weblate

  • Reset Weblate repo to updated production repo (slow process)
  • Unlock the repository

License

All the translation content of this repository (msgid, msgstr) is licensed under the Creative Commons Attribution 3.0 Unported license (CC BY 3.0) and is to be attributed to "Juan Linietsky, Ariel Manzur and the Godot community".

See LICENSE.txt for details.

The shell scripts are in the public domain.

godot-docs-l10n's People

Contributors

akien-mga avatar

Watchers

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