Skip to content

"İ" doesn't change to "I" when the language is changed #78

Open
@ulvidamirli

Description

@ulvidamirli

"i" and "ı" are two different letters in most Turkic languages.
Capital form of "i" is "İ" and "ı" is "I".

When I use uppercase form of string (by using CSS: text-transform: uppercase;), they don't change according to language standard. My browser is the latest version of Chrome. I don't define custom font, I use system default font.

For example:
<div style="text-transform: uppercase">This is my text</div>

  1. If the language is English when I first load the page:
    Output: THIS IS MY TEXT
    This is as expected.

  2. When I change language to Azerbaijani:
    Output: THIS IS MY TEXT
    But it should be: THİS İS MY TEXT

Testing vice-versa:

  1. If the language is Azerbaijani when I first load the page:
    Output: THİS İS MY TEXT
    This is as expected.

  2. When I change language to English:
    Output: THİS İS MY TEXT
    But it should be: THIS IS MY TEXT

This ambiguity occur only when I use text-transform: uppercase;. I don't get this problem if I type uppercased letters by hand. But I can't use this method in each page (project requirements). How can I solve this issue?

I don't really know if this is related to the sveltekit-i18n or not. I am sorry if I am in a wrong place for this issue :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexamplesIssue related to examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions