Version 1.0.42-1
- Exposed the i18n system to support internationalization in SDK. Now
corvina
expose the functionuseCorvinaI18n
:
import { useCorvinaI18n } from "corvina";
const i18n = useCorvinaI18n({"en-US": {"message": "EN-Message"}, "it-IT": {"message": "IT-Messaggio"}});
- Added the file
defaultLocale.ts
containing corvina codes for locale.