Testing the following code in a component:
const {translate} = useTranslator(); // Translation object for translating
console.log("Testing translate:");
console.log(translate)
leads to the following output:
LOG Testing translate:
LOG undefined
And the translate() function does not work as a result
Testing the following code in a component:
leads to the following output:
And the
translate()function does not work as a result