In the YAML file is it better to use key names related to the translation or referencing to the role they have in the resulting HTML page?
Should I write <h1><%= t '.title' %></h1>
Writing .yml files with key names related to the translation has the advantage to rely on rails ability to manage key names when the translation is missing, e.i. new_product becomes "New Product" in the views. This can be useful because allow to forget about the english version and focus on the other language translation.
# config/locales/it.yml
# key names reference to translation