You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to check whether an entry is existing?
I am using i18n for a Chatbots natural language classification. When a certain case can not be handled with the saved i18n statements I want either to check wether it exists or return a default statement.
Just like this: i18n.__('i18n_statement_missing', {default: 'default.statement'})
or like this:
if !i18n.__('i18n_statement_missing').exists ...
The text was updated successfully, but these errors were encountered:
Is there a way to check whether an entry is existing?
I am using i18n for a Chatbots natural language classification. When a certain case can not be handled with the saved i18n statements I want either to check wether it exists or return a default statement.
Just like this:
i18n.__('i18n_statement_missing', {default: 'default.statement'})
or like this:
if !i18n.__('i18n_statement_missing').exists ...
The text was updated successfully, but these errors were encountered: