Bug 153146

Summary: Add "Chapter Numbering" Dropdown Language Labels
Product: LibreOffice Reporter: Tex2002ans <Tex2002ans+LibreOffice>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: enhancement    
Priority: medium    
Version: 7.4.4.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 43808    
Attachments: LibreOffice.Writer.7.4.Chapter.Numbering.Dropdown.with.Complex.and.Asian

Description Tex2002ans 2023-01-22 05:58:53 UTC
Description:
Some selections have language labeled with parentheses (Bulgarian, Russian, Serbian, Arabic)... but many don't.

(See attached image.)

Steps to Reproduce:
In LibreOffice Writer:

1. Go into:

- Tools > Options
- Language Settings > Languages

2. Under "Default Languages for Documents"...

Check the boxes for:

- Asian
- Complex text layout

3. Press OK.

4. Go to:

- Tools > Chapter Numbering

5. In the "Numbering" tab...

- Choose the "Number:" dropdown.

Actual Results:
Many of the Numbers have "labels" letting you know which language it is:

- А, Б, .. (Bulgarian)
- А, Б, .. (Russian)
- [...]
- Α, Β, Γ, .. (Greek)
- α, β, γ, .. (Greek)

But most Asian/Complex languages don't:

- १, २, ३, ...
- 一, 二, 三, ...

Expected Results:
Add the language in parentheses for Asian/Complex languages too:

- १, २, ३, ... (Marathi)
- 一, 二, 三, ... (Japanese)


Reproducible: Always


User Profile Reset: No

Additional Info:
NOTE: I thought of this while helping a user here:

/r/LibreOffice: "Ordinal indicators as chapter (Asian languages)"
- https://www.reddit.com/r/libreoffice/comments/101yy4n/ordinal_indicators_as_chapter_asian_languages/j2spkv6/

They wanted help with Marathi + Hindi numbering, but I couldn't tell which selection was which.

- - -

Version: 7.4.4.2 (x64) / LibreOffice Community
Build ID: 85569322deea74ec9134968a29af2df5663baa21
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 Tex2002ans 2023-01-22 06:01:27 UTC
Created attachment 184827 [details]
LibreOffice.Writer.7.4.Chapter.Numbering.Dropdown.with.Complex.and.Asian
Comment 2 Shantanu 2023-01-24 07:28:53 UTC
And the chapter numbering should also be available in words like: 

एक, दोन, तीन (marathi)

The source code for this is already built-in.

https://github.com/Numbertext/libnumbertext/blob/master/data/mr.sor

The numbering is visible once 'Complex text layout' option is enabled from Tools - Options - Language Settings - Languages.  

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 1; OS: Windows 10.0 Build 14393; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded