Ramin Gharib created FLINK-41529:
------------------------------------
Summary: Translate the pages of the regular expression, cast,
conditional, window and utility functions into Chinese
Key: FLINK-41529
URL: https://issues.apache.org/jira/browse/FLINK-41529
Project: Flink
Issue Type: Sub-task
Components: chinese-translation, Documentation
Reporter: Ramin Gharib
FLINK-41433 moves the regular expression, cast, conditional, window and utility
functions to pages of their own, generated from
{{docs/data/functions/<category>/<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:
about 1,100 Chinese characters across 29 rows.
h3. Scope
* The 33 pages under {{docs/data/functions/}} in the categories
{{regular-expressions}}, {{cast}}, {{conditional}}, {{window}} and {{utility}}.
* 26 of them have a Chinese summary, and 7 have no Chinese text at all.
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-41433 are in
{{docs/data/sql_functions_zh.yml}} at commit
{{d8301306ef69825109ec264dc2cd1b8ae8575059}}. 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.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)