Open PEM-- opened 9 years ago
@PEM--, sorry, for some reason I only saw this now. But I think I might have already fixed this. Can you try the latest core release?
Also, where are you showing the mfStrings collection from? If you can see all that on the client without msgfmt:ui loaded, it's a bug :)
For Orion, I've created multiple language packs.
The default one is english and looks like this:
The second pack is for french (the cocorico guys). This time there is only one file:
The third pack is for russian (the vodka guys). Like for french, there is only on file:
When I look into Mongo, I can see the french translations in the
mfStrings
collection.The
mfMeta
collection shows me that french and russian have been analysed:The problem: I can't see neither english nor russian in Mongo. Only french is persisted in Mongo. As english is the default, it is send to the browser. Therefore, I'm able to switch between english and french but russian cannot be used.
I'm using
mfPkg.syncAll
which usesmfPkg.langUpdate
on each language pack. But something prevents the insertion in Mongo making russian unavailable.