strongloop/strong-globalize

Msg in-memory: another layer for message file

Setogit opened this issue · 2 comments

messages.json
{
msgAbc: "Abc",
msgEfg: "Efg"
}

terms.json
{
termXyz: "xyz"
}

then, in-memory Msg object structure should be:
{
messages: {
msgAbc: "Abc",
msgEfg: "Efg"
},
terms: {
termXyz: "xyz"
}
}

and access msgAbc as "messages/msgAbc"

@Setogit what does this mean?

in-memory structure itself is not necessary.