예제

다음 예제는 번역을 위해 Qt 애플리케이션을 준비하는 방법을 설명합니다:

  • Hello tr()QTranslator 객체를 생성하는 것을 보여주는 C++ 애플리케이션입니다. 또한 tr() 함수를 사용하여 사용자가 볼 수 있는 소스 텍스트를 번역할 수 있도록 표시하는 가장 간단한 사용법을 보여줍니다.
  • Arrow Pad는 현재 로캘에 따라 애플리케이션에서 번역을 로드하는 방법을 보여주는 C++ 애플리케이션입니다. 또한 번역가에게 추가 정보를 제공하는 tr() 의 두 인수 형식을 사용하는 방법도 보여줍니다.
  • 트롤 인쇄는 동일한 컨텍스트에서 동일한 소스 텍스트를 구별하는 방법을 보여주는 C++ 애플리케이션입니다. 또한 애플리케이션을 업그레이드할 때 번역가의 작업을 최소화하는 방법도 보여줍니다.
  • Qt Quick I18N은 Qt Quick 애플리케이션을 국제화하는 방법을 보여줍니다.

© 2025 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.