Skip to content

Commit 45eeb59

Browse files
authored
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
1 parent e433107 commit 45eeb59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rails/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
FactoryBot factories.
5656
- Use `touch: true` when declaring `belongs_to` relationships.
5757

58+
## Translations
59+
60+
- Ensure that the application is setup to support multiple locales.
61+
- Ensure that the application raises an error when a translation is missing for a
62+
given locale in development and tests.
63+
5864
[`.ruby-version`]: https://gist.github.com/fnichol/1912050
5965
[redirects]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30
6066
[spring binstubs]: https://github.com/sstephenson/rbenv/wiki/Understanding-binstubs

0 commit comments

Comments
 (0)