Vale CMS Need more than a rule playground? Explore
Asset Explorer

I18nJSON

Every string in an i18n JSON file, flat or nested, with the keys left alone.

view daseli18n Vale ≥ 3.14.0 Source

Getting started

Save the file as config/views/I18nJSON.yml under your StylesPath, then:

[locales/en.json]
BasedOnStyles = Vale

View = I18nJSON

I18nJSON.yml

Pull named scopes out of a file Vale can’t otherwise parse.
# An i18n JSON file: every string value, at any depth, flat keys or nested.
# The keys are never linted.
#
#   [locales/en.json]
#   BasedOnStyles = Vale
#   View = I18nJSON
engine: dasel
scopes:
  - name: message
    expr: search(true)