infinitered / ignite-i18n

An ignite plugin for react-native-i18n.
4 stars 9 forks source link

FT - app does not crash anymore when a translation does not exists #9

Closed Fr33maan closed 7 years ago

Fr33maan commented 7 years ago

A new feature to avoiding a crash when we request a translation that does not exists. It still have all the features of I18n in the exported object, we just overwriting the I18n.t function

GantMan commented 7 years ago

very nice! I will test it out soon :)

Fr33maan commented 7 years ago

Guess what ? I created a potential bug in this PR. If the unknownError translation does not exists it will crash. Sad I realize it just now ....