Working on a rails 3 app where I want to check if a translation exists before outputting it, and if it doesn't exist fall back to some static text. I could do something like: if I18n.t("some_translation.key").to_s.index("translation missing") But I feel like there should be a better way than that. What if rails in the future changes the "translation missing" to "translation not found". Or what if
![Rails I18n, check if translation exists?](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)