# Inconsistência na definição de plural

**URL:** <https://meta.discourse.org/t/inconsistency-in-plural-definition/317456>\
**Category:** Bug\
**Tags:** fixed\
**Created:** [Julho 21, 2024, 3:39pm UTC](https://meta.discourse.org/t/inconsistency-in-plural-definition/317456 "2024-07-21T15:39:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![loic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loic/32/105621_2.png) [@loic](https://meta.discourse.org/u/loic)\
**Post date:** [Julho 25, 2024, 12:32pm UTC](https://meta.discourse.org/t/inconsistency-in-plural-definition/317456/5 "2024-07-25T12:32:05Z")

</div>

Acabamos de mesclar um patch que flexibiliza o compilador MessageFormat, permitindo chaves de plural inválidas nas mensagens:

> <https://github.com/discourse/discourse/pull/28062>
>
> We can get translations with invalid plural keys from Crowdin or from custom ove…rrides. Currently, this will raise an error and the locales won’t be outputted at all.
> 
> This PR addresses this issue by using the new \`strict: false\` option of our \`messageformat-wrapper\` gem, allowing to generate locales even if there are invalid plural keys present.

Isso deve resolver a maioria dos problemas. Outros patches devem seguir em breve.

---

_[View the full topic](https://meta.discourse.org/t/inconsistency-in-plural-definition/317456)._
