From 45eeb591ece8933eecd96b4d0f8597aecfbcb36c Mon Sep 17 00:00:00 2001 From: Jose Blanco <53355525+laicuRoot@users.noreply.github.com> Date: Thu, 20 Jun 2024 09:20:23 +0100 Subject: [PATCH] Translations as a default for client projects (#701) * Translations as a default for client projects We would like to enable translations as a default for our clients projects. For this, we are including guidelines in accessibility about translations. * move translation section to Rails file --- rails/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rails/README.md b/rails/README.md index a6166c4d..c4cfc8de 100644 --- a/rails/README.md +++ b/rails/README.md @@ -55,6 +55,12 @@ FactoryBot factories. - Use `touch: true` when declaring `belongs_to` relationships. +## Translations + +- Ensure that the application is setup to support multiple locales. +- Ensure that the application raises an error when a translation is missing for a + given locale in development and tests. + [`.ruby-version`]: https://gist.github.com/fnichol/1912050 [redirects]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 [spring binstubs]: https://github.com/sstephenson/rbenv/wiki/Understanding-binstubs