---
# System prepended metadata

title: i18n

---

# i18n

## Background

Currently `config/locales/en.yml` lacks a consistent structure.

It can be hard to find the right place for a new translation.

- Where should I find a key?
- Where should I add a key?

## Solution proposal

Add very simple rules to guide the author.

- Code structure (controller, action)

## Resources

The [Rails Guide] has a [chapter on i18n].

"[Looking up translations]": how translations are found.

[Rails Guide]: https://guides.rubyonrails.org/
[Looking up translations]: https://guides.rubyonrails.org/i18n.html#looking-up-translations
[chapter on i18n]: https://guides.rubyonrails.org/i18n.html