I have two json dicionary files, each with the same terms from two different languages.
{
"Account" : {
"AccountLockText" : "Your account is locked",
"Login" : {
"CreateAccount" : "Create an account",
"LoginBtn" : "Login",
"LoginHeader" : "Login"
}
}
}
And I have a dictionaries.d.ts:
declare module "dictionaries" {
var Account: any;
}
To be called and used with typescript in my application. Sad part is that said file is empty, and I have no idea how to make that kind of connection.
Can someone help me with this?