Title: Translation problem
Last modified: May 2, 2026

---

# Translation problem

 *  Resolved [andany](https://wordpress.org/support/users/andany/)
 * (@andany)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/translation-problem-226/)
 * First of all, I want to praise the plugin. Compared to some of the well-known
   loyalty plugins, this plugin is “Formula1! It has absolutely no impact on the
   speed of the page and it doesn’t overload the database. It loads quickly, the
   free version has countless functions that are very easy and quick to set up. 
   You wouldn’t believe that such a thing exists. I think many would uninstall their
   premium plugins from other developers if they knew how much better this plugin
   is. Well, since it’s already excellent as a free plugin, I assume it’s perfect
   in the pro version. But I have a problem related to the German language and unfortunately
   it can’t be solved with a translation. Here’s what it’s about. I need one point
   and not just points, unfortunately one point doesn’t exist in this plugin. I 
   don’t know if I can put a picture here to make it clearer what I mean. I can’t
   write one point and the next problem is nouns, i.e. in sentences like “spend 
   more to get … additional…” In German, nouns are written in uppercase letters 
   and here the word “points” is in lowercase letters. With the help of a css snippet
   I managed to solve the problem with “one point” but I can’t solve the second 
   problem and I don’t want to have a semi-literate German language.
   I tried with
   a js snippet and the word points jumps to uppercase for a moment and then back
   to lowercase again. Can you help me? Kind Regards from Germany
 * ![](https://i0.wp.com/s1.directupload.eu/images/260502/wz3lweft.png?ssl=1)
 * ![](https://i0.wp.com/s1.directupload.eu/images/260502/lrney7f8.png?ssl=1)
 * ![](https://i0.wp.com/s1.directupload.eu/images/260502/8fnmije4.png?ssl=1)

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

 *  Plugin Author [Elliot Sowersby / RelyWP](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/translation-problem-226/#post-18897141)
 * Thanks for the kind words [@andany](https://wordpress.org/support/users/andany/)
 * Would much appreciated if you could share this awesome feedback as a review here:
   [https://wordpress.org/support/plugin/simple-points-and-rewards/reviews/#new-post](https://wordpress.org/support/plugin/simple-points-and-rewards/reviews/#new-post)
   🙂
 * Regarding your issue could you share the exact current string/phrase that is 
   incorrect, and what it should look like? Then I can take a look into fixing it
   in the next update!
 *  Thread Starter [andany](https://wordpress.org/support/users/andany/)
 * (@andany)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/translation-problem-226/#post-18897499)
 * I’ll show you what I changed, then you’ll know what I meant. To solve the first
   problem, I enabled a PHP code snippet. As I said, I need not only “Points” I 
   need “Point” too to display. This is snippet which solves that. This is the snippet
   that solved the first problem.
 *     ```wp-block-code
       add_filter( 'spar_formatted_points_message', 'custom_spar_singular_and_space_fix', 99, 3 );function custom_spar_singular_and_space_fix( $message, $template, $points ) {    // 1. Correct singular    if ( 1 === (int) $points ) {        $message = str_ireplace( array('Punkte', 'Points'), array('Punkt', 'Point'), $message );    }    // 2. Force a space before the link/letter    // Search for the number and add a non-breakable space after it.    $message = preg_replace('/(\d+)\s*/', '$1&nbsp;', $message);        // 3. Price repair (prevents 0.01)    $message = str_replace('&nbsp;,', ',', $message);    return ucfirst( trim($message) );}
       ```
   
 * I only need the first command, but it had to be modified by the second and third
   commands so that it looks like on pictures in the first post.
 * Second problem – To correctly display messages in the cart such as:
 *     ```wp-block-code
       You will earn %1$d %2$s from this order
       ```
   
 *     ```wp-block-code
       You earned %1$d %2$s from this order!
       ```
   
 * I changed all strtolower( $points_label ) to ucfirst( $points_label ) in cart-
   checkout.php. This isn’t the best solution due to updates, but I have no other
   choice. If I solve this with a code snippet, the letters are jumping while the
   AJAX loads. The first image from the first post is incorrect, it’s from the single
   product page and can be changed using points_label and points_label_lower. 
   The
   problem is with pre-existing sentences which explicitly require lowercase in 
   the plugin files.As I already mentioned, this is a great loyalty points plugin,
   but it would need some adjustments for the German language. For example, if someone
   in Croatia wanted to use this plugin, they would have massive difficulties with
   the translation, since they have things like “1 bod,” “2 boda,” “10 bodova,” 
   and they could only use “bodova” translated from English.I hope you now understand
   what I mean, and that’s why the topic title is “Translation problem”.
 *  Plugin Author [Elliot Sowersby / RelyWP](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [2 months ago](https://wordpress.org/support/topic/translation-problem-226/#post-18908079)
 * Thanks for the details. I am looking to implement a fix for this in the next 
   update!

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftranslation-problem-226%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/simple-points-and-rewards/assets/icon-128x128.png?rev=3388123)
 * [Simple Points and Rewards for WooCommerce - Create a Loyalty Program](https://wordpress.org/plugins/simple-points-and-rewards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-points-and-rewards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-points-and-rewards/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-points-and-rewards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-points-and-rewards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-points-and-rewards/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Elliot Sowersby / RelyWP](https://wordpress.org/support/users/elliotvs/)
 * Last activity: [2 months ago](https://wordpress.org/support/topic/translation-problem-226/#post-18908079)
 * Status: resolved