Rename to something like `write_to_scripts_locale_file`