Ramin Gharib created FLINK-41730:
------------------------------------

             Summary: Translate the pages of the aggregate and bitmap functions 
into Chinese
                 Key: FLINK-41730
                 URL: https://issues.apache.org/jira/browse/FLINK-41730
             Project: Flink
          Issue Type: Sub-task
          Components: chinese-translation, Documentation
            Reporter: Ramin Gharib


FLINK-41729 moves the aggregate and bitmap functions to pages of their own, 
generated from {{docs/data/functions/aggregate/<name>.yml}} and 
{{docs/data/functions/bitmap/<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/<category>/<name>.yml}}. The rest is no longer shown: 
876 of the 1538 Chinese characters of the 40 rows.

h3. Scope
* The 21 pages under {{docs/data/functions/aggregate/}}, including the grouping 
functions, and the 18 pages under {{docs/data/functions/bitmap/}}, including 
the bitmap aggregate functions.
* Some summaries still name the arguments of the old rows. The pages name them 
{{expr}}, {{bitmap1}}, {{int_array}} and so on, and the translation should use 
those names.

h3. How to translate
* Put the translation in {{docs/data/functions_zh/<category>/<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-41729 are in 
{{docs/data/sql_functions_zh.yml}} at commit 
{{faf3dae8ec3043e9eebdecb2fc338eb3f99ff7a9}}. 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, FLINK-41590 and FLINK-41717 cover the earlier 
categories the same way.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to