# Don't allow super long words if there is a word length maximum

**URL:** <https://meta.discourse.org/t/dont-allow-super-long-words-if-there-is-a-word-length-maximum/44487>\
**Category:** Support\
**Created:** [2016年五月19日 09:54 UTC](https://meta.discourse.org/t/dont-allow-super-long-words-if-there-is-a-word-length-maximum/44487 "2016-05-19T09:54:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)\
**Post date:** [2016年五月24日 05:44 UTC](https://meta.discourse.org/t/dont-allow-super-long-words-if-there-is-a-word-length-maximum/44487/3 "2016-05-24T05:44:27Z")

</div>

For CJK, it is meaningless. Word segmentation algorithm would happily chops a sentence into characters and words whenever it can. Without understanding the sentences, I’m afraid it’s not easy to identify good/bad word.

3 ways to disable it:

1. Put some locale check
2. Put a comment about how to disable it by setting the value to the same as topic length.
3. Add another setting to disable it.

The latter two is much better. Although locale-based site settings should be introduced at some moment for convenience.

BTW, if my mentor @tgxworld agrees, I could ask some pointers about how this can be done at some moment in June:

> [@Setting default site settings and scss based on locale](https://meta.discourse.org/t/setting-default-site-settings-and-scss-based-on-locale/25217):
>
> Site settings The default site setting may not make sense for different language. I’ll list my Chinese(zh\_CN) forum site setting to illustrate: min\_post\_length: 3, default: 20 min\_topic\_title\_length: 4, default: 15 min\_search\_term\_length: 1, default: 3 uncategorized\_description: need translation Chinese characters can express more per word which requires to change the default site setting anyway. If not to do so, Discourse can’t even post moderator post since the character of some translation…

---

_[View the full topic](https://meta.discourse.org/t/dont-allow-super-long-words-if-there-is-a-word-length-maximum/44487)._
