Since version 1.1.17 of WordPress plugin Simple Counters were added two filters for possibility of your own localization of badge phrases. Why filters? Why not parameters? Because different languages have different number of plural forms and rules of using these forms. It means that we don’t know how many plural forms we need to save as parameters. Filters are better in this case because programmer can independently define number of plurals and rules of their using.

For your own localization of words «readers» and «followers» you can use plugin filters «simple_counters_localization_feedburner» and «simple_counters_localization_twitter«. In order to use them, you must add to the file functions.php theme template the following code:

or this code:

or this code:

Note! You must use filters of Simple Counters only in next cases:

  1. Plugin has not localization for your language
  2. You don’t like standard localization of words “readers” and “followers” for your language

 

© 2011 – 2018, minimus. All rights reserved.