Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Write # in yaml (in the string)

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...

like image 892
Alex Pereira Avatar asked Dec 04 '12 20:12

Alex Pereira


People also ask

What do you mean of write?

to trace or form (characters, letters, words, etc.) on the surface of some material, as with a pen, pencil, or other instrument or means; inscribe: Write your name on the board. to express or communicate in writing; give a written account of: She wrote to thank us for the hospitality.

Is there a word write?

Write is the modern day spelling of the Old English writan, meaning “to score, outline, draw the figure of.” Now it has the sense of “to set down in writing.” You can write music, a short story, or computer code. You can write a letter, or write in cursive.

What is write word?

singular noun. You use the written word to refer to language expressed in writing, especially when contrasted with speech or with other forms of expression such as painting or film. Even in the 18th century, scholars continued to give primacy to the written word. COBUILD Advanced English Dictionary.

Why is it called write?

Etymology. From Middle English writen, from Old English wrītan (“to incise, engrave, write, draw, bestow by writing”), from Proto-West Germanic *wrītan, from Proto-Germanic *wrītaną (“to carve, write”), from Proto-Indo-European *wrey- (“to rip, tear”).


1 Answers

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

en:   twitter:     share: "#hashtag" 
like image 118
Paul Fioravanti Avatar answered Oct 02 '22 12:10

Paul Fioravanti