Enhancing the Quality of English–Indonesian Subtitle Translation Using Prompt Engineering in ChatGPT
DOI:
https://doi.org/10.35313/jbit.v12i1.6823Keywords:
ChatGPT, Prompt Engineering, Subtitle, TranslationAbstract
Constraints and guidelines on subtitle translation impose demanding tasks on machine translation systems, hence the urge to control translation output from machine translators. Unlike conventional machine translation, text-generating artificial intelligence such as ChatGPT can produce controlled translations that satisfy subtitle translation guidelines. Thus, this study aims to maintain the quality of subtitle translation while limiting character length to keep subtitles compact. The study employed a descriptive-comparative analysis to examine the differences between a plain prompt and a properly designed prompt. The prompts used in this study included details such as contextual information, target audience specifications, formal language requirements, character-length limitations, prohibition on altering sentence order, and illustrative examples. This study utilized 50 subtitle segments from the film Mufasa: The Lion King (2024) and implemented four prompt types: Plain Prompt, Zero-Shot Prompt, One-Shot Prompt, and Few-Shot Prompt. Translation quality was measured using COMET, BERTScore, and chrF++. Scores from these metrics showed improvement, with the Few-Shot Prompt reaching 89.920, 88.830, and 59.904, respectively, while the Plain Prompt yielded only 89.000, 85.806, and 55.767. The findings also revealed a reduction in character count, with the Plain Prompt generating 1,834 characters and the Few-Shot Prompt generating 1,377. These results indicate that the Few-Shot Prompt produces higher-quality translations and maintains greater compactness compared to the Plain Prompt.
Downloads
References
Achiam, J., Adler, S., Agarwal, S., Ahmad, L., Akkaya, I., Aleman, F. L., Almeida, D., Altenschmidt, J., Altman, S., Anadkat, S., Avila, R., Babuschkin, I., Balaji, S., Balcom, V., Baltescu, P., Bao, H., Bavarian, M., Belgum, J., Bello, I., … Zoph, B. (2023). GPT-4 Technical Report. January 2024, 1–36. http://arxiv.org/abs/2303.08774
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G., Henighan, T., Child, R., Ramesh, A., Ziegler, D. M., Wu, J., Winter, C., … Amodei, D. (2020). Language models are few-shot learners. Advances in Neural Information Processing Systems, 33(NeurIPS).
Chan, V., & Tang, W. K. W. (2024). GPT for Translation: A Systematic Literature Review. SN Computer Science, 5(8). https://doi.org/10.1007/s42979-024-03340-z
Cintas, J. D., & Remael, A. (2021). Subtitling: Concepts and practices. In Subtitling: Concepts and Practices. https://doi.org/10.4324/9781315674278
Deilen, S., Garrido, S. H., Lapshinova-Koltunski, E., & Maaß, C. (2023). Using ChatGPT as a CAT tool in Easy Language translation. https://doi.org/https://doi.org/10.48550/arXiv.2308.11563
Gao, R., Lin, Y., Zhao, N., & Cai, Z. G. (2024). Machine translation of Chinese classical poetry: a comparison among ChatGPT, Google Translate, and DeepL Translator. Humanities and Social Sciences Communications, 11(1), 1–10. https://doi.org/10.1057/s41599-024-03363-0
Gao, Y., Wang, R., & Hou, F. (2023). How to Design Translation Prompts for ChatGPT: An Empirical Study. http://arxiv.org/abs/2304.02182
Gilson, A., Safranek, C. W., Huang, T., Socrates, V., Chi, L., Taylor, R. A., & Chartash, D. (2023). How Does ChatGPT Perform on the United States Medical Licensing Examination? The Implications of Large Language Models for Medical Education and Knowledge Assessment. JMIR Medical Education, 9, 1–9. https://doi.org/10.2196/45312
Giray, L. (2023). Prompt Engineering with ChatGPT: A Guide for Academic Writers. Annals of Biomedical Engineering, 51(12), 2629–2633. https://doi.org/10.1007/s10439-023-03272-4
Hao, G., Wu, J., Pan, Q., & Morello, R. (2024). Quantifying the uncertainty of LLM hallucination spreading in complex adaptive social networks. Scientific Reports, 14(1), 1–13. https://doi.org/10.1038/s41598-024-66708-4
He, S. (2024). Prompting ChatGPT for translation: A comparative analysis of translation brief and persona prompts. Proceedings of the 25th Annual Conference of the European Association for Machine Translation, 314–324.
Hurst, A., Lerer, A., Goucher, A. P., Perelman, A., Ramesh, A., Clark, A., Ostrow, A., Welihinda, A., Hayes, A., Radford, A., Mądry, A., Baker-Whitcomb, A., Beutel, A., Borzunov, A., Carney, A., Chow, A., Kirillov, A., Nichol, A., Paino, A., … Malkov, Y. (2024). GPT-4o System Card. 1–33. http://arxiv.org/abs/2410.21276
Jiao, H., Peng, B., Zong, L., Zhang, X., & Li, X. (2024). Gradable ChatGPT Translation Evaluation. 72, 73–85. https://doi.org/10.26342/2024-72-5
Jiao, W., Wang, W., Huang, J., Wang, X., Shi, S., & Tu, Z. (2023). Is ChatGPT A Good Translator? Yes With GPT-4 As The Engine. http://arxiv.org/abs/2301.08745
Jiao, W., Wang, W., Huang, J., Wang, X., & Tu, Z. (2023). Is ChatGPT A Good Translator? Yes With GPT-4 As The Engine. March. http://arxiv.org/abs/2301.08745
Johnson, O. V., Mohammed Alyasiri, O., Akhtom, D., & Johnson, O. E. (2023). Image Analysis through the lens of ChatGPT-4. Journal of Applied Artificial Intelligence, 4(2), 31–46. https://doi.org/10.48185/jaai.v4i2.870
Liu, H., & Li, X. (2024). Evaluating ChatGPT’s Translation of Chinese Idioms in Subtitles: A Cognitive Approach Through the Case Study of The Story of Minglan. ISRG Journal of Arts Humanities & Social Sciences (ISRGJAHSS), 2(2), 327–331. https://doi.org/10.5281/zenodo.11063517
Maleki, N., Padmanabhan, B., & Dutta, K. (2024). AI Hallucinations: A Misnomer Worth Clarifying. Proceedings - 2024 IEEE Conference on Artificial Intelligence, CAI 2024, 133–138. https://doi.org/10.1109/CAI59869.2024.00033
Popovic, M. (2017). CHRF ++: Words helping character n-grams. Proceedings of the Second Conference on Machine Translation, 612–618. https://doi.org/10.18653/v1/w17-4770
Pu, X., & Liu, M. (2025). ChatGPT Prompt Engineering Methods for Financial News Translation. In Lecture Notes in Computer Science: Vol. 15589 LNCS. Springer Nature Singapore. https://doi.org/10.1007/978-981-96-4407-0_19
Rei, R., Stewart, C., Farinha, A. C., & Lavie, A. (2020). COMET: A neural framework for MT evaluation. EMNLP 2020 - 2020 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference, 2685–2702. https://doi.org/10.18653/v1/2020.emnlp-main.213
Ren, X. (2025). We want but we can’t: measuring EFL translation majors’ intention to use ChatGPT in their translation practice. Humanities and Social Sciences Communications, 12(1), 1–11. https://doi.org/10.1057/s41599-025-04604-6
Schick, T., & Schütze, H. (2021). It’s Not Just Size That Matters: Small Language Models Are Also Few-Shot Learners. NAACL-HLT 2021 - 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Proceedings of the Conference, 2339–2352. https://doi.org/10.18653/v1/2021.naacl-main.185
Singh, S. K., Kumar, S., & Mehra, P. S. (2023). Chat GPT & Google Bard AI: A Review. 2023 International Conference on IoT, Communication and Automation Technology, ICICAT 2023, 1–6. https://doi.org/10.1109/ICICAT57735.2023.10263706
Siu, S. C. (2023). ChatGPT and GPT-4 for Professional Translators: Exploring the Potential of Large Language Models in Translation. SSRN Electronic Journal, 1–36. https://doi.org/10.2139/ssrn.4448091
Sriwastwa, A., Ravi, P., Emmert, A., Chokshi, S., Kondor, S., Dhal, K., Patel, P., Chepelev, L. L., Rybicki, F. J., & Gupta, R. (2023). Generative AI for medical 3D printing: a comparison of ChatGPT outputs to reference standard education. 3D Printing in Medicine, 9(1), 1–17. https://doi.org/10.1186/s41205-023-00186-8
Ting, D. S. J., Tan, T. F., & Ting, D. S. W. (2024). ChatGPT in ophthalmology: the dawn of a new era? Eye (Basingstoke), 38(1), 4–7. https://doi.org/10.1038/s41433-023-02619-4
Wang, L., Lyu, C., Ji, T., Zhang, Z., Yu, D., Shi, S., & Tu, Z. (2023). Document-Level Machine Translation with Large Language Models. http://arxiv.org/abs/2304.02210
White, J., Fu, Q., Hays, S., Sandborn, M., Olea, C., Gilbert, H., Elnashar, A., Spencer-Smith, J., & Schmidt, D. C. (2023). A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT. http://arxiv.org/abs/2302.11382
Wicaksono, G. B. (2024). Evaluating The Quality of GPT-4 as A Machine Translator in English-Indonesian Subtitle [Master’s Thesis, Brawijaya University of Malang]. http://repository.ub.ac.id/id/eprint/235714
Yamada, M. (2023). Optimizing Machine Translation through Prompt Engineering: An Investigation into ChatGPT’s Customizability. MT Summit 2023 - Proceedings of 19th Machine Translation Summit, 2, 195–204.
Yan, J., Yan, P., Chen, Y., Li, J., Zhu, X., & Zhang, Y. (2024). GPT-4 vs. Human Translators: A Comprehensive Evaluation of Translation Quality Across Languages, Domains, and Expertise Levels.
Zhang, T., Kishore, V., Wu, F., Weinberger, K. Q., & Artzi, Y. (2020). BERTScore: Evaluating Text Generation With BERT. 1–43.
Zhang, W., Li, A. W., & Wu, C. (2025). University students’ perceptions of using generative AI in translation practices. Instructional Science. https://doi.org/10.1007/s11251-025-09705-y
Zhao, T. Z., Wallace, E., Feng, S., Klein, D., & Singh, S. (2021). Calibrate Before Use: Improving Few-Shot Performance of Language Models. Proceedings of Machine Learning Research, 139, 12697–12706.
Zhao, W., Huang, S., & Yan, L. (2024). ChatGPT and the Future of Translators: Overview of the Application of Interactive AI in English Translation Teaching. 2024 4th International Conference on Computer Communication and Artificial Intelligence, CCAI 2024, 303–307. https://doi.org/10.1109/CCAI61966.2024.10602989
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jurnal Bahasa Inggris Terapan

This work is licensed under a Creative Commons Attribution 4.0 International License.






