Skip to content

Frequently Asked Questions

How does the vocative case work in Czech?

The vocative (5th grammatical case) is a noun form used when directly addressing someone. In Czech, names change their ending when used in direct address. For example:

  • Vaclav -> Vaclave
  • Marie -> Marie (unchanged)
  • Tomas -> Tomasi
  • Pavel -> Pavle

The module automatically converts the customer’s first name to this form in emails, providing grammatically correct and natural-sounding greetings.

For which languages is the vocative available?

The module is primarily designed for the Czech language. The inflection library supports Czech names.

For other languages (Slovak, Polish), the inflection may be less accurate or may not work at all.

Can I use the vocative only for certain languages?

Yes, in the module settings there is an Allowed Languages field. Select the languages for which you want to apply the vocative.

If you leave the field empty, the vocative will be used for all languages.

How do I change the entire greeting in the email?

In the Replace first name setting, enter custom text with variables:

Examples:

  • Ahoj {full_name}, -> “Ahoj Vaclave Novaku,” (Hello Vaclav Novak,)
  • Vitej {first_name}! -> “Vitej Vaclave!” (Welcome Vaclav!)
  • Dobry den, -> “Dobry den,” (Good day, - without name)
Why are some names not inflected correctly?

The inflection library may not recognize:

  • Foreign names (English, German, etc.)
  • Unusual Czech names
  • Nicknames

In these cases, the original form of the name or an incorrect ending may be displayed.

Does the module work with last names?

Yes, if you use the {last_name} or {full_name} variable, the module will also inflect the last name:

  • Ahoj {full_name} -> “Ahoj Vaclave Novaku” (Hello Vaclav Novak)
Can I add custom inflection rules?

Not directly in the module, but you can use a WordPress filter for custom modifications:

add_filter( 'woocommerce_mail_callback_params', function( $params, $email ) {
// Custom inflection rules
$params[2] = str_replace( 'Ahoj Janis,', 'Ahoj Janisi,', $params[2] );
return $params;
}, 25, 2 );
Does the module affect emails other than order emails?

No, the module only affects emails related to orders (new order, completed order, etc.).

Emails such as password reset, account registration, or others are not affected by the module.

Can I completely disable the vocative?

Yes, simply deactivate the module in the WPify Woo settings.

Alternatively, you can enter text without variables in the Replace first name field:

  • Dobry den, (Good day,) - the same greeting for everyone
How do I test that the vocative is working?
  1. Create a test order
  2. Check the received email
  3. Verify that the name is in the correct form

For debugging, you can use a plugin like “WP Mail Logging” to capture sent emails.