def import_translations(lang, path):
 clear_cache()
 full_dict = get_full_dict(lang)
 full_dict.update(get_translation_dict_from_file(path, lang, u'import'))
 for app in frappe.get_all_apps(True):
  write_translations_file(app, lang, full_dict)

def import_translations ( lang , path ) : clear_cache ( ) full_dict = get_full_dict ( lang ) full_dict . update ( get_translation_dict_from_file ( path , lang , u'import' ) ) for app in frappe . get_all_apps ( True ) : write_translations_file ( app , lang , full_dict )
update translated strings .