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

I18nYAML

Every string in a Rails-style locale file, with the keys left alone.

view daseli18n Vale ≥ 3.14.0 Source

Getting started

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

[config/locales/en.yml]
BasedOnStyles = Vale

View = I18nYAML

I18nYAML.yml

Pull named scopes out of a file Vale can’t otherwise parse.
# A Rails-style locale file, `en:` at the root and nested keys under it:
# every string value, at any depth. The keys are never linted.
#
#   [config/locales/en.yml]
#   BasedOnStyles = Vale
#   View = I18nYAML
engine: dasel
scopes:
  - name: message
    expr: search(true)