Fixed the I18n deprecation warning

Fixed the deprecation warning when running specs and started the app