where '%s' is replaced with file_path. create an object TranslatableFile with arguments: dirpath, filename and locale_dir, append it to all_files.
all_files . append ( TranslatableFile ( dirpath , filename , locale_dir ) )