Avatar

about text in chinese (appended to the bug report) (Bugs)

by Auge ⌂, Thursday, November 24, 2016, 11:45 (2703 days ago) @ Solis
edited by Auge, Thursday, November 24, 2016, 15:08

Hello Solis

I appended your entry to the bug report, because it gives some insights to the problem.

Like I assumed here, is the notation of the chinese literary language without spaces the source of the problem. The code in contrast, assumes a space as the separator. Thatswhy is a whole paragraph counted as one word and that's (in most cases) far too long with the standard setting of text_word_maxlength of 90 characters (and all other pickeable values).

One solution could be, to make a value of 0 for the setting text_word_maxlength disabling the length check. But this might have side effects and it's questionable, if comparable settings like name_word_maxlength etc. must then be disableable too. That's IMHO a real can of worms.

A second solution would be a "setting" (key-value-pair; maybe optional) in the language file, that provides the info about the char(s), that separating words in the concrete language.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!


Complete thread:

 RSS Feed of thread