Ramin Gharib created FLINK-41717:
------------------------------------
Summary: Translate the pages of the mathematical functions into
Chinese
Key: FLINK-41717
URL: https://issues.apache.org/jira/browse/FLINK-41717
Project: Flink
Issue Type: Sub-task
Components: chinese-translation, Documentation
Reporter: Ramin Gharib
FLINK-41716 moves the mathematical functions to pages of their own, generated
from {{docs/data/functions/mathematical/<name>.yml}}. The Chinese pages show
the English sections. Where a converted row in
{{docs/data/sql_functions_zh.yml}} had a Chinese description, only its first
sentence was kept, as the summary in
{{docs/data/functions_zh/mathematical/<name>.yml}}. The rest is no longer
shown: 276 of the 589 Chinese characters of the 39 rows.
h3. Scope
* The 32 pages under {{docs/data/functions/mathematical/}}. Each has a Chinese
summary.
* Some summaries still name the arguments of the old rows, such as {{numeric2}}
for LOG. The pages name them {{x}}, {{base}} and so on, and the translation
should use those names.
h3. How to translate
* Put the translation in {{docs/data/functions_zh/mathematical/<name>.yml}}.
Each field it sets, such as {{notes}} or {{returns}}, replaces the English one.
The fields it doesn't set fall back to English.
* The Chinese descriptions of these rows before FLINK-41716 are in
{{docs/data/sql_functions_zh.yml}} at commit
{{44e6c7fa6e5dc71eca619bd6f0fd057476289f1a}}. They can be reused where they
still match the English page.
* {{docs/README.md}}, section "Built-in function pages", describes the fields.
The translation needs a native speaker. Until then, the English text is the
placeholder. FLINK-41529 and FLINK-41590 cover the earlier categories the same
way.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)