pysepal.i18n.flatten#

Turn one nested message document into flat dotted keys.

Lookup is then an ordinary dict access, which retires the whole protected-key problem: a message named get, items or keys is just a string.

Functions

flatten_document

Return the flat messages and plural base keys of one JSON document.