Skip to main content

Debug

Sometimes there is unexpected behavior, there is a debug prop to try and detect wtf is going on. You'll get some logs, try it by yourself :)

import { I18nKeylessText } from "i18n-keyless-react";

return (
<I18nKeylessText debug>
Hello world
</I18nKeylessText>
);
}
import { getTranslation } from "i18n-keyless-react";

return (
<p>
{getTranslation("Hello world", { debug: true })}
</p>
);
}