Bug 153146 - Add "Chapter Numbering" Dropdown Language Labels
Summary: Add "Chapter Numbering" Dropdown Language Labels
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
 
Reported: 2023-01-22 05:58 UTC by Tex2002ans
Modified: 2023-09-24 20:01 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
LibreOffice.Writer.7.4.Chapter.Numbering.Dropdown.with.Complex.and.Asian (9.12 KB, image/png)
2023-01-22 06:01 UTC, Tex2002ans
Details

Note You need to log in before you can comment on or make changes to this bug.
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