GithubHelp home page GithubHelp logo

isabella232 / kivy-translations Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kivy/kivy-translations

0.0 0.0 0.0 3.8 MB

This is the repository where Kivy translations are managed - DEPRECATED

Python 100.00%

kivy-translations's Introduction

Kivy translation project

Note

This is some note written during the process discovery. I'm not sure it's the good way to do it.

Pootle

Webserver available at http://translation.kivy.org/

If a lang doesn't appear on the webserver, ask to [mat at kivy.org]

Underground process

  1. Generate sphinx with gettext

PYTHONPATH=.. sphinx-build -b gettext sources build/gettext

  1. Copy the gettext content as templates in Pootle

# maybe a merge is needed here ? cp build/gettext/* /home/web/kivy.org/build/translations/sources/templates

  1. Go on Pootle, and for each language, do

"Update from templates" # XXX sometime, permission denied on .tmp O_o

  1. Work on the translations
  2. Same as 3.
  3. For every language, we need to generate po. They will be done in /home/web/kivy.org/build/translations/compiled/LANG/LC_MESSAGES

7. Generate sphinx documentation for all languages sphinx-build -Dlanguage=LANG ... + adjust doc/sources/conf.py / locale_dirs to use compiled directory

Todo

  • Make that directory work under git source control
  • Ensure we are able to do translation over time (when docstring changes)
  • Generate documentation automatically from bot

Tips

"Make a single file from loose .po files" $ msgcat --use-first general.po [^g]*.po | msgattrib --no-fuzzy -o nl.po

General informations

http://sphinx.pocoo.org/latest/intl.html http://translate.sourceforge.net/wiki/pootle/index http://wiki.laptop.org/go/Pootle/Administration

kivy-translations's People

Contributors

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