Rule: Remove Accents and Diacritics#
This rule allows you to remove diacritical marks (e.g., accented characters like e, s, c, t, z) from text in feed elements and replace them with their Latin equivalents according to the ASCII table. It is used, for example, for exports that do not allow accented characters or for unifying product names.
Extra features#
- No additional features
Practical examples#
Example 1: Remove diacritics from product name or description#
1. Creating a new rule:
- Open the “Rules” page.
- Click the New rule button.
2. Selecting the rule type:
- In the Rule type field, select the Remove diacritics option.
3. Selecting products:
- In the Query field, choose either All products or create your own Product query for specific products you want the rule to apply to.
4. Choosing the element to change:
- In the Element field, select the element you want to modify.
- In our case, this will be either the name element (for example: g:title, Productname, name_Exact) or the product description (description)
5. Naming the rule:
- In the last step, enter the rule name, for example “Remove diacritics from product name”.
FAQ#
What is the Remove Accents and Diacritics rule for?#
This rule converts all accented characters (e.g., characters with diacritical marks) to their ASCII equivalents (plain Latin letters). It is primarily used:
- when exporting feeds to systems that do not support accented characters,
- for unifying product names or URL addresses,
- when preparing data for comparison, filtering, or matching.
What is the result after applying the rule?#
For example:
- Červené tričko s nápisem → Cervene tricko s napisem
- Dámská kabelka Žofie → Damska kabelka Zofie
- Zboží.cz – Pánská obuv Šimon → Zbozi.cz – Panska obuv Simon
Which elements can I apply the rule to?#
Any text element in the project, for example:
- product names (
g:title,product_name,name_Exact), - descriptions (
description), - brands (
brand), - categories (
product_type).
💡 Tip: The most common use is for product names and descriptions when exporting to foreign markets.
Can the rule be applied to product parameters as well?#
Yes. Simply select the element PARAM | PARAM_VALUE in the “Element” field. The rule will then remove diacritics from parameter names or values as well.
Does removing diacritics affect HTML code structure or special characters (e.g., &)?#
No. The rule works only with regular alphabet letters and diacritical marks. HTML tags, entities (<p>, &, , etc.) and digits remain untouched.
Can I use the rule on URL addresses?#
Yes, but with caution. When removing diacritics, characters are converted to basic Latin, but spaces and special characters are preserved. It is recommended to combine this rule with the Find and replace rule (e.g., for replacing spaces with hyphens or removing disallowed characters).
Can the rule be applied only to selected products?#
Yes. You can create a custom Product query (e.g., by language or category) and apply the rule only to it. For example: remove diacritics only for products exported to foreign markets.
Can the rule be used repeatedly?#
Yes. The rule can be applied at any stage of feed editing – even repeatedly, for example after adding new data or importing an external file. Just adjust the rule order accordingly. If the text no longer contains diacritics, the rule makes no changes.
Can I check the result before export?#
Yes. After saving and applying the rules or after regenerating the feed, check the result:
- in the product preview, or
- using the Rule walkthrough feature, where you can see exactly how the text changed after diacritics removal.
Can the rule be combined with other rules?#
Yes. It is most commonly combined with:
- Find and replace – for additionally removing spaces or special characters,
- Rewrite – for adding the modified text to another element.