text0: å¾è¼©ã¯ç«ã§ãã ååã¯ã¾ã ç¡ã text1: |- å¾è¼©ã¯ç«ã§ãã ååã¯ã¾ã ç¡ã text2: >- å¾è¼©ã¯ç«ã§ãã ååã¯ã¾ã ç¡ã text3: "\ å¾è¼©ã¯ç«ã§ãã\ ååã¯ã¾ã ç¡ã" YAML.load_file('sample.yml') => { "text0"=>"å¾è¼©ã¯ç«ã§ãã ååã¯ã¾ã ç¡ã", "text1"=>"å¾è¼©ã¯ç«ã§ãã\nååã¯ã¾ã ç¡ã", "text2"=>"å¾è¼©ã¯ç«ã§ãã ååã¯ã¾ã ç¡ã", "text3"=>"å¾è¼©ã¯ç«ã§ããååã¯ã¾ã ç¡ã" } çºç«¯ Railsã§ã®è¨å®ãã¡ã¤ã«ã¨ãã¦ãYamlå½¢å¼ããã使ããã¦ãã¾ããç¹ã«i18nç¨ã®ãã¡ã¤ã«ã¯ããé·æãè¨è¿°ããã¾ããããããé·æãä¸è¡ã§æ¸ããã¨ã¯ä¿å®ä¸åé¡ã§ãããæ¹è¡ãå ¥ãã¦è¤æ°è¡ã«ããã¨ãå¤ãªæ¹è¡ãã¹ãã¼ã¹ãæ®ããã¾ãããä»ã¾ã§ã¯ããããããèªã¿åãå´ã§æ¹è¡ãåãé¤ããã¸ãã¯ãçµã¿ã¾ãã
{{#tags}}- {{label}}
{{/tags}}