Title: Auto Replacer
Last modified: August 19, 2016

---

# Auto Replacer

 *  Resolved [Avaz](https://wordpress.org/support/users/avazbek/)
 * (@avazbek)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/auto-replacer/)
 * Hello,
 * Due to pecularity of our language(uzbek based on latin alphabet) we use `&rsquo;`
   and `&lsquo;` characters and they shouldn’t replace each other, because it’s 
   counted wrong. AFAIK, there’s no keyboard button for **‘** (`&lsquo`) character,
   and in posts I’ve to edit manually each word which contains such character.
 * For example I’ve to change the word **O’zbek** to **`O&lsquo;zbek`** in the WP
   editor, so that it will display correctly, like **O‘zbek**.
 * That’s why I thought if it was possible to write a lil hack/plugin which will
   replace given combinations. Here they are:
 * All **O’, o’** and **G’, g’** in a post and post title will be replaced with `
   O&lsquo;, o&lsquo;` and `G&lsquo;, g&lsquo;` accordingly.
 * Can anyone write such hack/plugin?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/auto-replacer/#post-676078)
 * “_Can anyone write such hack/plugin?_“
 * Sure! Your request is actually simple to write up something for…
 * **Uzbek Single Left Quote plugin**
    [Download plugin](http://guff.szub.net/download/uzbek-lsquo.php)
   | [View source](http://guff.szub.net/source/uzbek-lsquo.php)
 * Plugin tests for the format
 * `[O|G]'[A-Z]`
 * In other words, O or G (case-insensitive), followed by a straight single quote,
   followed by any alphabetical character. Let me know if this needs to be adjusted
   in any way. Admittedly I know nothing of the Uzbeki language. `:/`
 *  Thread Starter [Avaz](https://wordpress.org/support/users/avazbek/)
 * (@avazbek)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/auto-replacer/#post-676106)
 * **Kafkaesqui,**
 * Thank you very much! This is what I needed. I’ve posted about this plugin on 
   my [blog](http://uzblogger.com/2008/01/08/ozbek-lotin-alifbosi-bilan-bogliq-muammo-yechimi.html),
   hope it will be helpful for many other users too.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Auto Replacer’ is closed to new replies.

## Tags

 * [string replace](https://wordpress.org/support/topic-tag/string-replace/)

 * 2 replies
 * 2 participants
 * Last reply from: [Avaz](https://wordpress.org/support/users/avazbek/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/auto-replacer/#post-676106)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
