Bug 125404 - Request for new sinitic languages
Summary: Request for new sinitic languages
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Eike Rathke
URL:
Whiteboard: target:6.4.0
Keywords:
Depends on:
Blocks: CJK
  Show dependency treegraph
 
Reported: 2019-05-21 01:20 UTC by 趙惟倫
Modified: 2019-07-11 05:52 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Proof of concept for translation in Yue (929.78 KB, application/octet-stream)
2019-07-11 05:52 UTC, 趙惟倫
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 趙惟倫 2019-05-21 01:20:30 UTC
Description:
Please add language teams:
cmn, nan, hak, yue, lzh

Steps to Reproduce:
Choosing languages.

Actual Results:
Supporting only the macro-language "zh" which is treated as a single language.

Expected Results:
Supporting all of (at least main) sinitic languages which are treated as dialects.


Reproducible: Always


User Profile Reset: No



Additional Info:
as ISO 639-3: gan, hak, czh, cjy, wuu, cmn, mnp, cdo, nan, czo, cpx, lzh, hsn, yue

as glibc: hak, cmn, nan, lzh, yue
Comment 1 V Stuart Foote 2019-05-21 07:45:44 UTC
Not clear as to intent of "Supporting".  Simply adding language idents for the the zh dialects? Or, implementing l10n of the UI with translations via Pootle?
Comment 2 sophie 2019-05-21 10:05:23 UTC
Currently Wei-Lun will work on cmn for the moment, and UI should be added on Pootle together with a UI entry.
Comment 3 Ming Hua 2019-05-21 14:02:56 UTC
(In reply to sophie from comment #2)
> Currently Wei-Lun will work on cmn for the moment, and UI should be added on
> Pootle together with a UI entry.

I don't know much about ISO 639, but from what I see on Wikipedia, cmn is Chinese Mandarin which is basically what zh_CN is right now.  Why do we need a separate UI language for it?
Comment 4 趙惟倫 2019-05-22 03:24:01 UTC
https://en.wikipedia.org/wiki/ISO_639_macrolanguage
IMHO, "zh" is not a proper language name, which should be broken into various sinitic languages, though it's almost impossible.
Comment 5 Ming Hua 2019-05-22 17:25:55 UTC
(In reply to 趙惟倫 from comment #4)
> IMHO, "zh" is not a proper language name, which should be broken into
> various sinitic languages, though it's almost impossible.
I think replacing both zh_CN and zh_TW UI language options with something start with "cmn_" is a worthy discussion.

However, having both cmn and zh_CN as options is confusing and counter-productive.  And I assume what Sophie said "added on Pootle together with a UI entry" means that.
Comment 6 Eike Rathke 2019-05-29 20:48:22 UTC
While 'zh' is only a macrolanguage tag, replacing the zh-CN and zh-TW language tags technically is not a good idea. Both are established in most major office programs and supporting them is necessary for interoperability, spell-checking, locale attribution and so on.

Introducing other language tags to differentiate is fine, if translations differ and result in different UIs and/or different attribution. For 'cmn' vs 'zh-CN' I do not see this is the case.

However, we could add cmn-CN for zh-CN and cmn-TW for zh-TW aliases. This actually makes sense in case imported document content is attributed that way to have it map to supported language tags.
Comment 7 Commit Notification 2019-06-05 21:07:29 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/c4f9b1cae7e9400b9aa4bc085ee39371c3b67485%5E%21

Related: tdf#125404 alias cmn-CN to zh-CN, cmn-TW to zh-TW

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 趙惟倫 2019-07-11 05:52:42 UTC
Created attachment 152715 [details]
Proof of concept for translation in Yue

machine-translated, unreviewed po-files in Yue language for libo_ui.