Skip to content

Double-curly-brace syntax for interpolation isn't supported #6

@patbl

Description

@patbl

There are two syntaxes for interpolation in locale files, %{var} and {{var}}. Only the first is supported. YAML Validator thinks the second is a syntax error:

# en.yml
en:
  foo: "{{lol}}"

# pt.yml
pt:
  foo: "{{lol}}"
$ yaml-validator validate .
Validating ....


pt.yml: foo: invalid syntax '{{lol}'

found 1 error(s)

This repository doesn't have much recent activity. Are pull requests still welcome? This gem seems as though it could be very useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions