Warning
Acrolinx has started to phase out support for this configuration option. If you’ve already enabled Targets, you won't be able to use it. Reach out to your Acrolinx contact if you have any questions, or view our Sunset Policy for more specific details.
You can configure Acrolinx to display the number of words that a highlighted sentence contained so that users know how many words to remove. You can also configure an alternative name for the "sentence too long" guideline in the Acrolinx Scorecard.
To configure an alternative name for the "sentence too long" guideline, follow these steps:
-
Open your overlay of the relevant language configuration file.
If you haven't yet created an overlay of this file, create a new version of the file at the following location:
<config directory>/data/<LANG_ID>/configuration.properties
If this location doesn’t yet exist, create the required subdirectories first.
-
Locate the group of properties for your desired writing guide.
-
Add the following property:
<RULE_SET>.lengthChecker.sentenceTooLongPhrase=<PHRASE>
You can use the variable
$words
to display the number of words in the highlighted sentence.Example
Standard.lengthChecker.sentenceTooLongPhrase=Sentence too long: Counted $words words
Tip
You can also define this property for all writing guides by entering the property without the writing guide prefix.
lengthChecker.sentenceTooLongPhrase=Sentence too long: Counted $words words
-
(Optional) To configure an alternative name for the 'sentence too long' guideline, add the following property:
<RULE_SET>.lengthChecker.sentenceTooLongRuleName=<RULE_NAME>
Example
StandardDE.lengthChecker.sentenceTooLongRuleName=Satz zu lang
Tip
You can also define this property for all writing guides by entering the property without the writing guide prefix.
Example
lengthChecker.sentenceTooLongRuleName=Satz zu lang
-
Save your changes and reload the language configuration on the relevant language servers.
The new name appears in the Scorecard.