appendTranslations method
Appends translations.
Implementation
void appendTranslations(Map<String, Map<String, String>> tr) {
tr.forEach((String key, Map<String, String> map) {
if (translations.containsKey(key)) {
translations[key]!.addAll(map);
} else {
translations[key] = map;
}
});
}