51

I'm new using yml files (for translations in my framework).

I'm trying to add a "#" inside the translation (will be a twitter share... blabla).

Is this possible, because the file translate it like a comment...

dreftymac
  • 31,404
  • 26
  • 119
  • 182
Alex Pereira
  • 916
  • 1
  • 9
  • 17

1 Answers1

77

Just put the value inside single or double quotes and it won't be treated like a comment. Something like:

en:
  twitter:
    share: "#hashtag"
Paul Fioravanti
  • 16,423
  • 7
  • 71
  • 122