Title: Localisation &#8211; n() function &#8211; single/plural
Last modified: August 20, 2016

---

# Localisation – n() function – single/plural

 *  [unick69](https://wordpress.org/support/users/unick69/)
 * (@unick69)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/localisation-n-function-singleplural/)
 * Hi there, I don’t know if I’m in the right forum but here it goes.
 * I am translating a WordPress theme from English to French. The theme uses the“
   n()” function witch establishes the single/plural form based on a numeric value.
   I have an issue with the single/plural form since in English, the plural form
   is used for zero, but in French, the single form is used instead.
 * Now the translation is used in a cart items content. So I guess the “n()” function
   is the one to use, but “n()” will return plural for zero.
 * What should I be looking into to fix this.
 * Thanks

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/localisation-n-function-singleplural/#post-2568765)
 * You might be better speaking to the theme developer directly about this but bear
   in mind that no semi-automated translation system is ever going to produce perfect
   results for every language.
 *  Thread Starter [unick69](https://wordpress.org/support/users/unick69/)
 * (@unick69)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/localisation-n-function-singleplural/#post-2568771)
 * ok… the theme developper said to come in here since the funciton is being used
   correctly.
 * Maybe someone can tell me where the function is define so I can hack it in some
   way ?
 * Thanks

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

The topic ‘Localisation – n() function – single/plural’ is closed to new replies.

## Tags

 * [english](https://wordpress.org/support/topic-tag/english/)
 * [french](https://wordpress.org/support/topic-tag/french/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [localisation](https://wordpress.org/support/topic-tag/localisation/)
 * [n](https://wordpress.org/support/topic-tag/n/)
 * [single](https://wordpress.org/support/topic-tag/single/)
 * [zero](https://wordpress.org/support/topic-tag/zero/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 2 replies
 * 2 participants
 * Last reply from: [unick69](https://wordpress.org/support/users/unick69/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/localisation-n-function-singleplural/#post-2568771)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
