From ff1ad03051db4b3d2f088d9a9a669cc058128e65 Mon Sep 17 00:00:00 2001 From: "Ian Y. Choi" Date: Mon, 2 Oct 2023 00:35:03 +0900 Subject: [PATCH] [Docs] Update check translation part - Emphasizes the purpose of translation check by describing why it is important and what translation check means - Reflects current OpenStack documentation structure on openstack-manuals, and documents in project teams - Minor correction on http -> https and adding "Japanese" for a link with "/ja". Change-Id: Ib573c8d7b2d8af5655c8923a01ba6b7206f7276b --- doc/source/check_translation.rst | 67 +++++++++++++++++++++++--------- 1 file changed, 49 insertions(+), 18 deletions(-) diff --git a/doc/source/check_translation.rst b/doc/source/check_translation.rst index 07bfdfa..72babb1 100644 --- a/doc/source/check_translation.rst +++ b/doc/source/check_translation.rst @@ -2,22 +2,41 @@ How to check translations ========================= -It is important to check your translations by using a real situation where your -translation is used. This page describes how to check your translations. +It is important to validate your translations by applying them in a real +situation where they are rendered and visualized. This page describes how to +check your translations. + +.. note:: + + ``translation check`` refers to build OpenStack artifacts with translated + strings and check how the translated strings are shown on an actual screen + as part of the translation process. Documentation ------------- -Using docs.openstack.org -~~~~~~~~~~~~~~~~~~~~~~~~ - Translated documents are available at the OpenStack Documentation site. -It is updated daily. Most contents are linked from either of: +It is updated daily. Most contents are linked from: -* http://docs.openstack.org/ contains released documents. - Follow "Languages" in http://docs.openstack.org/. +* https://docs.openstack.org/ contains released documents. + Follow "Languages" in https://docs.openstack.org/. -To build a translated document, you need to update the file +The documents are maintained in the ``doc`` directory using `reStructuredText +`__ and built by `Sphinx +`__. Translated strings are stored as `Gettext PO +file format `__ +in ``locale//LC_MESSAGES`` directory. + +Documents on openstack-manuals +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +For OpenStack documentation, `openstack-manuals git repository +`_ hosts essential +OpenStack documents such as `Installation Guide +`_, and `Virtual Machine +Image Guide `_. + +To build a translated document on this repository, you need to update the file ``doc-tools-check-languages.conf`` in each repository, and add an entry to ``BOOKS`` like ``["ja"]="install-guide"``. @@ -26,9 +45,9 @@ Liberty, you need to update the file ``doc-tools-check-languages.conf`` in the target stable branch directly. You can check a generated document for a specified branch on -http://docs.openstack.org///. -For example, the link of Ubuntu Installation Guide for Liberty is -http://docs.openstack.org/liberty/ja/install-guide-ubuntu/. +``https://docs.openstack.org///``. +For example, the link of Japanese Ubuntu Installation Guide for Liberty is +https://docs.openstack.org/liberty/ja/install-guide-ubuntu/. To add a link to a generated document, you need to update the file ``www//index.html`` in the ``master`` branch of @@ -40,15 +59,27 @@ in the stable branch. You can also check: -* `build status for publishing on Zuul `__ -* `checkbuild with drafts on Zuul `__ +* `build status for publishing on Zuul `__ +* `checkbuild with drafts on Zuul `__ -OpenStack developer documentation -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +OpenStack project documentation +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Currently, we do not support translations for OpenStack developer -documents: http://docs.openstack.org/ +Currently, we support translations for small set of OpenStack project +documentations like Horizon, OpenStack-Ansible, and OpenStack-Helm upon +requests and available bandwidth. Top-level directory structure on +``doc/source/`` follows with `Documentation Contributor Guide - Project guide +setup `_ and +the corresponding generated documents for ``master`` branch are available at +``https://docs.openstack.org//latest//`` URL. +For project team documents in stable branch, you can check the documents with +``https://docs.openstack.org////`` URL. + +Here are sample document links as examples: + +* `Korean OpenStack-Helm Installation Guide (no branch) `_ +* `German OpenStack-Ansible User Guide for 2023.1 `_ OpenStack Dashboard -------------------