예제

다음 예제는 Qt 애플리케이션을 번역에 대비하여 준비하는 방법을 보여줍니다:

  • Arrow Pad는 현재 로케일에 따라 번역본을 불러오는 방법을 보여주는 C++ 애플리케이션입니다. 또한 번역가에게 추가 정보를 제공하는 ` tr() `의 두 인자 형식을 사용하는 방법도 보여줍니다.
  • Troll Print는 동일한 문맥에서 동일한 소스 텍스트를 구별하는 방법을 보여주는 C++ 애플리케이션입니다. 또한 애플리케이션이 업그레이드될 때 번역가의 작업량을 최소화하는 방법도 보여줍니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.