@inlang/message-lint-rule-identical-pattern

@inlang/message-lint-rule-identical-pattern JS library on npm Download @inlang/message-lint-rule-identical-pattern JS library

Checks for identical patterns in different languages. A message with identical wording in multiple languages can indicate that the translations are redundant or can be combined into a single message to reduce translation effort.

Version 1.5.9
@inlang/message-lint-rule-identical-pattern has no homepage
@inlang/message-lint-rule-identical-pattern JS library on GitHub
@inlang/message-lint-rule-identical-pattern JS library on npm
Download @inlang/message-lint-rule-identical-pattern JS library

What does this rule do?

Checks for identical patterns in different languages. A message with identical wording in multiple languages can indicate that the translations are redundant or can be combined into a single message to reduce translation effort.

Manual setup

Besides installing the lint rule through manage.inlang.com you could also configure it manually.

Settings

Type:

type MessageLintRuleLevel = "error" | "warning"

Example in the project.inlang/settings.json:

{
    // other configuration
    "messageLintRuleLevels": {
        "messageLintRule.inlang.identicalPattern": "error",
    }
}

The default level is warning