Skip to content

Instantly share code, notes, and snippets.

@bosskovic
Last active December 15, 2015 23:59
Show Gist options
  • Save bosskovic/5343942 to your computer and use it in GitHub Desktop.
Save bosskovic/5343942 to your computer and use it in GitHub Desktop.
YAML resource file example
# this comment is ignored because it is not directly followed by a key-value pair
en:
# this comment is also ignored,
# because it is followed by a key that has children nodes
header:
hello_user : Hello %{username}
# comments are treated as translation descriptions
# belonging to the key-value pair that follows
# lingochecks as well
# lh-check {placeholders:true, terms: Lingohub, min: +5, max:110%}
welcome: Welcome to Lingohub! this is your %{visit_count} visit.
about:
# example of an array in YAML
features_array:
- Reach billions with your apps!
- Android, iOS & Co!
- Clever Github integration!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment