Pull add unwanted line to en.yml
HatemKhattab opened this issue · 3 comments
when i pull my translations to _i18n file, its become like this
en:
key_1: xxx
key_2: xxx
How can i fix it to make pull only retrive the keys like
key_1: xxx
key_2: xxx
Hello @HatemKhattab,
Currently, there is no way to do that. Why do you want to remove the root key? It won't be anymore a valid i18n rails YAML file if you remove it.
Hi @thibaultdalban
I use Jekyll, and i need to remove the main key after every pull .
it must be without root key to work with jekyll-multiple-languages-plugin
I would suggest you to open a ticket against jekyll-multiple-languages-plugin
, @HatemKhattab . They seem to load and parse YAML files by hand, and their expected Ruby de-facto standard file format defined by i18n
gem.