Name Description Size
components.conf 478
DocumentL10n.cpp 7813
DocumentL10n.h This class maintains localization status of the document. The document will initialize it lazily when a link with a localization resource is added to the document. Once initialized, DocumentL10n relays all API methods to an instance of mozILocalization and maintains a single promise which gets resolved the first time the document gets translated. 1887
DOMLocalization.cpp DOMLocalization API 19751
DOMLocalization.h DOMLocalization API Methods documentation in DOMLocalization.webidl 3677
L10nMutations.cpp 4953
L10nMutations.h L10nMutations manage observing roots for localization changes and coalescing pending translations into batches - one per animation frame. 2630
L10nOverlays.cpp 15956
L10nOverlays.h Translate an element. Translate the element's text content and attributes. Some HTML markup is allowed in the translation. The element's children with the data-l10n-name attribute will be treated as arguments to the translation. If the translation defines the same children, their attributes and text contents will be used for translating the matching source child. 4546
moz.build 902
tests 2