توضیحات
This plugin converts Bulgarian cyrillic characters in slugs and filenames to Latin characters, according to the official rules for transliteration. Cyrillic letters in URLs, while supported, are ugly and when copy/pasted around the internet are often encoded (converted to those ugly URLs looking like %DU^ED%…)
The plugin automatically converts slugs when a post is created or updated. It also automatically will convert cyrillic characters in filenames, upon media upload. The filename conversion can be disabled through wp-config.php
It will also work for Russian permalinks, as it matches all the letters in the Russian alphabet, although the user should have in mind that there are minor differences in the common transliterations rules in the two languages.
امکانات
- Automatically converts existing post, page and taxonomy slugs when you save them
نصب
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
سوالات متداول
-
How do I stop transliteration of media uploads?
-
Put the following in your wp-config.php file:
define(‘CYR2LAT_FILENAMES’,false);
نقد و بررسیها
توسعه دهندگان و همکاران
“Bulglish Permalinks” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “Bulglish Permalinks” به زبان شما.
علاقه مند به توسعه هستید؟
کد را مرور کنید، مخزن SVN را بررسی کنید، یا از طریق RSS در گزارش توسعه مشترک شوید.
گزارش تغییرات
1.5.0
- Project improvements:
- Optimized the translation map, so it is built only once per request.
- Replaced 30+ individual
preg_replace()regex passes with a single, fasterstrtr()lookup - Added
ABSPATHdirect-access safety guard - Removed the trailing PHP close tag.
_ Tested the plugin with wp version 7.0
1.4.1
- WP5 supported
1.4.0
- File names transliteration now optional
1.3.0
- Now will auto convert filenames upon upload
1.2.0
- Works on front end saving of posts as well
1.1.0
- Added missing letters from Russian alphabet
1.0.0
- First release
