Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1602 closed enhancement (duplicate)

magic-removal: urlify.js blocks out non-English chars

Reported by: Petar Marić <petar.maric@…> Owned by: adrian
Component: contrib.admin Version: magic-removal
Severity: minor Keywords:
Cc: petar.maric@…, avandorp@… Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I sugest we change urlify.js in a way that will not block out non-English chars.
Instead it should translate them into their English feel-a-like, ie for Serbian (Latin): Š->s, Đ->dj, Č->c.

Attachments (1)

urlify-serbian-latin.patch (790 bytes) - added by Petar Marić <petar.maric@…> 9 years ago.
Example of the patch for Serbian (Latin)

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Petar Marić <petar.maric@…>

Example of the patch for Serbian (Latin)

comment:1 Changed 9 years ago by avandorp@…

  • Cc avandorp@… added

If we do that, we should try to normalize even more letters. Among them ö->oe, ä->ae, ü->ue, é->e, è->e, à->a, ß->ss. Does anyone know a list of all possible accented letters? Or should there be an automatism escaping all characters?

comment:2 Changed 9 years ago by mtredinnick

  • Resolution set to duplicate
  • Status changed from new to closed

This and #2282 are talking about the same thing. There is a bit more discussion (mostly links to mailing list threads) in the latter, so I'll close this one as a dupe, but add a note about the Serbian transpositions being here.

Note: See TracTickets for help on using tickets.
Back to Top