Dịch văn bản trong Google Trang trình bày
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Hướng dẫn bắt đầu nhanh này sẽ tạo một tiện ích bổ sung cho Trình chỉnh sửa Google Trang trình bày giúp dịch văn bản đã chọn trong một bản trình bày.
Mục tiêu
Thiết lập tập lệnh.
Chạy tập lệnh.
Điều kiện tiên quyết
Để sử dụng mẫu này, bạn cần đáp ứng các điều kiện tiên quyết sau:
Một Tài khoản Google (tài khoản Google Workspace có thể yêu cầu quản trị viên phê duyệt).
Một trình duyệt web có quyền truy cập vào Internet.
Thiết lập tập lệnh
Tạo bản trình bày trong Trang trình bày tại slides.new.
Nhấp vào Tiện ích>Apps Script.
Nhấp vào Dự án chưa có tiêu đề.
Đổi tên dự án Apps Script thành Translate Slides (Dịch trang trình bày) rồi nhấp vào Rename (Đổi tên).
Bên cạnh tệp Code.gs, hãy nhấp vào biểu tượng Tuỳ chọn khác more_vert>Đổi tên. Đặt tên translate cho tệp.
Nhấp vào Thêm tệp add>HTML. Đặt tên sidebar cho tệp.
Thay thế nội dung của từng tệp bằng đoạn mã tương ứng sau đây, sau đó nhấp vào biểu tượng Lưu .
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2026-05-13 UTC."],[],["This document outlines how to create a Google Slides add-on that translates selected text. Key steps include: creating a new Slides presentation and an Apps Script project named \"Translate Slides,\" renaming the default code file to \"translate\", adding a file named \"sidebar\" and replacing the content of these files with the specified code. The script creates a menu to \"Open Translate\", which shows a sidebar with language options, allowing users to select text in the presentation and click \"Translate\" to change it into the chosen language.\n"]]