Is there a way to check if a translation exists or not with the library I18n-js? Answer You can use the method lookup(). It returns undefined when the translation does not exist, so you can put it in your conditional. For example:
Is there a way to check if a translation exists or not with the library I18n-js? Answer You can use the method lookup(). It returns undefined when the translation does not exist, so you can put it in your conditional. For example: