[wp-trac] [WordPress Trac] #15248: remove_accents filter need
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 29 04:07:56 UTC 2010
#15248: remove_accents filter need
--------------------------+-------------------------------------------------
Reporter: unsalkorkmaz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Charset | Version: 3.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Hi,
http://core.trac.wordpress.org/ticket/9591
http://core.trac.wordpress.org/ticket/10249#comment:36
http://wordpress.org/extend/ideas/topic/non-latin-characters-need-love
After those, i think i found my solution but this solution need to edit
core;
{{{
unset($chars[chr(196).chr(158)]); // 'Ğ'
unset($chars[chr(196).chr(159)]); // 'ğ'
unset($chars[chr(196).chr(176)]); // 'İ'
unset($chars[chr(196).chr(177)]); // 'ı'
unset($chars[chr(195).chr(135)]); // 'Ç'
unset($chars[chr(195).chr(167)]); // 'ç'
unset($chars[chr(197).chr(158)]); // 'Ş'
unset($chars[chr(197).chr(159)]); // 'ş'
unset($chars[chr(195).chr(188)]); // 'ü'
unset($chars[chr(195).chr(156)]); // 'Ü'
unset($chars[chr(195).chr(182)]); // 'ö'
unset($chars[chr(195).chr(150)]); // 'Ö'
}}}
Need a filter before formatting.php line 654:
{{{
$string = strtr($string, $chars);
}}}
Basically i want to use "şŞ İı Ğğ Üü Öö çÇ" chars in permalinks / slugs
and this change at least give me an option.
You can read about accents important in
http://searchenginewatch.com/3635055 example.
(Sorry for my english and php knowledge)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15248>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list