Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pontoon does not correctly differentiate between Turkish dotted and dotless "i" #3323

Open
harmitgoswami opened this issue Sep 11, 2024 · 1 comment
Labels
bug P2 We want to ship it soon, possibly in the current quarter search-2024

Comments

@harmitgoswami
Copy link
Collaborator

Currently, Pontoon doesn't differentiate between the Turkish 'ı' and 'i' (capital I and İ respectively), despite these being different characters.

For example, these two queries produce the exact same results (in addition to incorrect highlighting):

https://pontoon.mozilla.org/tr/firefox/browser/browser/browser.ftl/?search=%C4%B1&string=246376
https://pontoon.mozilla.org/tr/firefox/browser/browser/browser.ftl/?search=i&string=246376

This bug has been bought up and addressed before: https://bugzilla.mozilla.org/show_bug.cgi?id=1346180

@github-project-automation github-project-automation bot moved this to 🆕 Needs triage in Pontoon Roadmap Sep 11, 2024
@mathjazz mathjazz added the P2 We want to ship it soon, possibly in the current quarter label Sep 11, 2024
@harmitgoswami
Copy link
Collaborator Author

It seems after some research that database collation is the correct and recommended way to go: http://www.i18nguy.com/unicode/turkish-i18n.html

However, even after reverting to our previous approach, I can confirm that Pontoon still doesn't detect the difference between the 'i' and 'ı' characters.

Collation in Django does seem to be supported, but the way we invoke entities.filter and entities.order_by makes me think we'd need a pretty large refactor to properly use Django's Collate function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug P2 We want to ship it soon, possibly in the current quarter search-2024
Projects
Status: 🆕 Needs triage
Development

No branches or pull requests

2 participants