---
title: Quick translate or replace single words
description: "In general our plugin is [ready to be translated in your language](https://getaawp.com/docs/article/translate-aawp-into-your-language/). Additionally you can edit certain text strings (e.g. sale ribbon or button text) easily via [plugin settings](https://getaawp.com/docs/article-category/settings/). Anyway there might be some situation where you don't want to…"
url: "https://getaawp.com/docs/article/quick-translate-replace-single-words/"
updated: "2018-02-04"
category: "Extending & Styling"
---

# Quick translate or replace single words

In general our plugin is [ready to be translated in your language](https://getaawp.com/docs/article/translate-aawp-into-your-language/). Additionally you can edit certain text strings (e.g. sale ribbon or button text) easily via [plugin settings](https://getaawp.com/docs/article-category/settings/).

Anyway there might be some situation where you don't want to make use of our prepared translations or only want to replace single words.

Therefore we prepared a filter which can be used to quickly replace single terms.

![](https://getaawp.com/wp-content/uploads/aawp-docs-replace-strings-before.png)

In this example we're going to update the text "Reviews" to "Amazon Reviews".

### Making use of our filter

The filter looks as follows:

`add_filter( 'aawp_replace_translations', function( $translations ) {`

$translations['%s Reviews'] = '%s Amazon Reviews';

return $translations;
 });

We prepared an article which shows [how to add custom PHP code snippets](https://getaawp.com/docs/article/custom-php-code-snippets/) to your site.

After adding our little PHP snippet the output looks as follows:

![](https://getaawp.com/wp-content/uploads/aawp-docs-replace-strings-after.png)

### Frequently asked text replacements

Here you can find more examples of frequently asked text replacements which can be done by using the filter above:

| Description | String to be replaced |
| --- | --- |
| "Reviews" label | `%s Reviews` |

*We will to update this collection continuously.*
