Giter Site home page Giter Site logo

vale-localization's Introduction

Vale rules for Localization

This repo contains Vale rules to check for correct Localization syntax in AsciiDoc files.

For Vale installation steps, see here: https://vale.sh/docs/vale-cli/installation/

NOTE: If you need Vale rules to lint grammar and accepted Red Hat terminology in Localization, see Vale at Red Hat.

Testing the Localization rule set

To test the Localization rule set, add a .vale.ini configuration file in your modules directory.

  1. Add a .vale.ini file to your repo root directory with the following content:
StylesPath = .vale/styles

MinAlertLevel = suggestion

Packages = https://github.com/reachlekha/vale-localization/releases/latest/download/Localization.zip

[[!.]*.adoc]
BasedOnStyles = RedHat, Localization
  1. Run vale sync

Verification

To verify, run vale ls-config in your modules directory to check that the Localization package is installed.

{
"BlockIgnores": {},
"Checks": null,
"Formats": {},
"Localization": {},
...
"SBaseStyles": {
  "[!.]*.adoc": [
    "Localization"
  ]
...
}

vale-localization's People

Contributors

aireilly avatar chandralekha-redhat avatar

Watchers

Chandralekha Balachandran avatar

Forkers

aireilly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.