Skip to main content

watch_for_translation_changes

Register file watchers for .mo files in potential locale paths.

def watch_for_translation_changes(
sender: object,
**kwargs: dict
) - > null

Register file watchers for .mo files in potential locale paths.

Parameters

NameTypeDescription
senderobjectThe file watcher service or reloader instance that provides the watch_dir method for monitoring filesystem changes
**kwargsdictAdditional keyword arguments passed by the Django signal dispatcher

Returns

TypeDescription
nullNothing is returned; the function performs side effects by registering watchers on the sender object.