Ticket #8308 (closed Bug: fixed)
Properly normalize greek text
| Reported by: | ggozad | Owned by: | hannosch |
|---|---|---|---|
| Priority: | minor | Milestone: | 3.1.5 |
| Component: | Internationalization | Keywords: | greek i18n |
| Cc: |
Description
The greek locale normalizer in plone.i18n does not take into account capital accented letters (and some others, such as omega accented or the letter chi). I followed the approach used by the author which is to translate this to latin phonetically. Also changed the mapping of capital letters Psi and Ksi, to be encoded as 'Ks' and 'Ps' instead of 'KS' and 'PS'.
If you have any questions/objections, please let me know.
Attachments
Change History
Changed 4 years ago by ggozad
-
attachment
el.py.patch
added
comment:1 follow-up: ↓ 2 Changed 4 years ago by hannosch
- Status changed from new to assigned
- Type changed from Enhancement to Bug
From the looks of the patch, this should be trivial to apply. I'm marking this as a bug as we seem to be using improper normalization so far.
comment:2 in reply to: ↑ 1 Changed 4 years ago by ggozad
Replying to hannosch:
From the looks of the patch, this should be trivial to apply. I'm marking this as a bug as we seem to be using improper normalization so far.
Indeed it's trivial, it only accounts for letters that are not in the map... I would have commited myself but have access only to collective's svn.

patch for plone.i18n.normalizer.el