Research Article

A Study on Prompt Engineering Strategies and Context-Enhanced Translation for Video Game Localization

Yuanze Zou*
Xi’an Jiaotong University

* Corresponding author: [email protected]

Abstract

Video game localization often depends on contextual understanding rather than sentence-level translation alone. This problem is especially evident in fragmented narrative games such as Elden Ring, where information about characters, places, factions, terminology, and world-building is scattered across item descriptions, equipment texts, skill explanations, and other isolated entries. When these entries are translated without sufficient background information, large language models may produce inconsistent terms, weakened narrative references, inaccurate interpretation of polysemous expressions, or a style that does not match the original atmosphere. To address this problem, this study proposes a context-enhanced prompt-based translation framework for game localization. The framework builds a local semantic knowledge base, retrieves relevant background information through contextual embeddings and cosine similarity, and inserts the retrieved context into structured translation prompts. Using Elden Ring item descriptions as the test corpus, this study compares Doubao, Gemini, and GPT-5.5 under four settings: baseline translation, prompt engineering, context enhancement, and the full method. The evaluation uses BERTScore F1, character-level BLEU-4, and the Global Terminology Enrichment Score (GTES). The results show that context retrieval is more effective than prompt engineering alone in improving domain terminology recall, and the full method achieves the strongest overall performance. This suggests that external knowledge retrieval can help reduce contextual loss in fragmented game text translation.

Keywords: video game localization; large language models; prompt engineering; context enhancement; retrieval-augmented generation
Published: July 14, 2026
DOI: 10.54254/2755-2721/2026.35240
Volume: ACE Vol.231
pp. 132-144
Download PDF

References

  1. Jiao, W., Wang, W., Huang, J.T., Wang, X., Shi, S. and Tu, Z. (2023) Is ChatGPT a Good Translator? Yes with GPT-4 as the Engine. arXiv preprint arXiv: 2301.08745.
  2. Yamada, M. (2023) Optimizing Machine Translation through Prompt Engineering: An Investigation into ChatGPT's Customizability. In Proceedings of Machine Translation Summit XIX, Vol. 2: Users Track, 195-204.
  3. He, S. (2024) Prompting ChatGPT for Translation: A Comparative Analysis of Translation Brief and Persona Prompts. In Proceedings of the 25th Annual Conference of the European Association for Machine Translation, Volume 1, 316-326.
  4. He, Z., Liang, T., Jiao, W., Zhang, Z., Yang, Y., Wang, R., Tu, Z., Shi, S. and Wang, X. (2024) Exploring Human-Like Translation Strategy with Large Language Models. Transactions of the Association for Computational Linguistics, 12, 229-246.
  5. Miaschi, A. and Dell'Orletta, F. (2020) Contextual and Non-Contextual Word Embeddings: An In-Depth Linguistic Investigation. In Proceedings of the 5th Workshop on Representation Learning for NLP, 110-119.
  6. Chandler, H.M. and Deming, S.O. (2011) The Game Localization Handbook. 2nd Edition, Jones & Bartlett Publishers.
  7. O'Hagan, M. and Mangiron, C. (2013) Game Localization: Translating for the Global Digital Entertainment Industry. John Benjamins Publishing Company.
  8. O'Hagan, M. and Mangiron, C. (2006) Game Localisation: Unleashing Imagination with "Restricted" Translation. The Journal of Specialised Translation, 6, 10-21.
  9. Bernal-Merino, M.Á. (2006) On the Translation of Video Games. The Journal of Specialised Translation, 6, 22-36.
  10. Bernal-Merino, M.Á. (2015) Translation and Localisation in Video Games: Making Entertainment Software Global. Routledge.
  11. Hansen, D. and Houlmont, P.-Y. (2022) A Snapshot into the Possibility of Video Game Machine Translation. In Proceedings of the 15th Biennial Conference of the Association for Machine Translation in the Americas, Volume 2: Users and Providers Track and Government Track, 257-269.
  12. Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-t., Rocktäschel, T., Riedel, S. and Kiela, D. (2020) Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. Advances in Neural Information Processing Systems, 33, 9459-9474.
  13. Arslan, M., Ghanem, H., Munawar, S. and Cruz, C. (2024) A Survey on RAG with LLMs. Procedia Computer Science, 246, 3781-3790.