Socket
Book a DemoInstallSign in
Socket

@inlang/message-lint-rule-missing-translation

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inlang/message-lint-rule-missing-translation

Checks for missing variants for a specific languageTag. If a variant exists for the sourceLanguageTag but is missing for a listed languageTag, it is likely that the message has not been translated for this languageTag yet.

latest
npmnpm
Version
1.4.8
Version published
Weekly downloads
186
-15.07%
Maintainers
2
Weekly downloads
 
Created
Source

What does this rule do?

Checks for missing variants for a specific languageTag. If a variant exists for the sourceLanguageTag but is missing for a listed languageTag, it is likely that the message has not been translated for this languageTag yet.

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.missingTranslation": "error",
	}
}

The default level is warning

FAQs

Package last updated on 03 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts