• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

godotengine/godot-docs-l10n: Localization of the Godot documentation – Translat ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

godotengine/godot-docs-l10n

开源软件地址(OpenSource Url):

https://github.com/godotengine/godot-docs-l10n

开源编程语言(OpenSource Language):

Shell 100.0%

开源软件介绍(OpenSource 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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap