https://bugs.documentfoundation.org/show_bug.cgi?id=173547

            Bug ID: 173547
           Summary: Kurdish (Latin/Hawar) alphabetical sorting does not
                    follow the Kurdish alphabet order
           Product: LibreOffice
           Version: 26.8.0.3 release
          Hardware: All
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

**Summary**

Kurdish (Latin/Hawar) alphabetical sorting does not follow the Kurdish alphabet
order

**Component**

Internationalization / i18npool / Locale data

**LibreOffice version**

26.8.0.3

**Operating system**

macOS (MacBook)

**Locale / Language**

Kurdish (ku)

### Description

I am a translator/contributor working on the Kurdish (ku) localization of
LibreOffice.

I have found an issue with Kurdish alphabetical sorting (collation) in
LibreOffice Calc. Kurdish Latin/Hawar letters are not consistently sorted
according to the standard Kurdish alphabet.

The Kurdish Latin/Hawar alphabet is:

**A, B, C, Ç, D, E, Ê, F, G, H, I, Î, J, K, L, M, N, O, P, Q, R, S, Ş, T, U, Û,
V, W, X, Y, Z**

### Steps to reproduce

1. Open LibreOffice Calc 26.8.0.3 on macOS.
2. Use the Kurdish (ku) locale/language.
3. Enter the following values into a column:

```text
Ça
Cy
D
d
Êb
Ey
F
Îa
Şe
Su
Ûd
Ul
V
```

4. Select the values.
5. Use **Data → Sort** and sort the column in ascending order.
6. Observe the resulting order.

### Actual result

LibreOffice produces:

```text
Ça
Cy
D
d
Êb
Ey
F
Îa
Şe
Su
Ûd
Ul
V
```

The Kurdish-specific letters are not handled according to their positions in
the Kurdish alphabet.

### Expected result

The sorting should respect the Kurdish Latin/Hawar alphabet.

For the letters represented in this test, the expected order should be based
on:

```text
C < Ç < D
E < Ê < F
I < Î < J
S < Ş < T
U < Û < V
```

Therefore, the collation should recognize:

* Ç as the letter following C
* Ê as the letter following E
* Î as the letter following I
* Ş as the letter following S
* Û as the letter following U

### Technical information

This appears to be related to the locale-specific collation rules used by
LibreOffice's internationalization/localedata implementation.

The Kurdish locale data should provide appropriate ICU collation rules for the
Kurdish Latin/Hawar alphabet.

The relevant Kurdish locale files under `i18npool/source/localedata/data/` may
need to be reviewed.

### Impact

This issue affects Kurdish users who need to alphabetically sort Kurdish names,
words, dictionaries, lists, and large datasets in Calc.

For Kurdish localization, correct collation is an important part of providing
proper language support.

I would appreciate it if the LibreOffice internationalization/locale-data
developers could investigate this issue and implement the correct Kurdish
Latin/Hawar collation rules.

Thank you to the LibreOffice QA and development teams for reviewing this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to