Notice
Recent Posts
Recent Comments
Link
관리 메뉴

DreamFactory7 :: IT

qm 파일 번역하기 본문

번역_유틸리티/여러가지

qm 파일 번역하기

우루사1호 2021. 6. 26. 16:37

qm파일은 qt에서 제공하는 번역 파일의 컴파일된 형태의 파일이다.

이것의 소스파일은 ts파일이다.

ts파일이 qm으로 컴파일되는거다.

po 파일도 그런개념이다.

po를 mo로 컴파일하는 것과 같다.

qt linguist는 포터블과 설치버전 두가지 형태로 사용할수있다.

다만 포터블은 한글로 나오지않는다.

그런데 일단 업데이트는 충실히 되어있다.

글쓴시점 5.12.0 버전이있다.

설치버전은 업데이트가 잘안되어있다.

 

포터블버전 다운로드:

https://github.com/thurask/Qt-Linguist/releases

 

Releases · thurask/Qt-Linguist

Contribute to thurask/Qt-Linguist development by creating an account on GitHub.

github.com

 

설치버전 (글쓴시점 5.12.0) 다운로드:

https://github.com/lelegard/qtlinguist-installers/releases

 

Releases · lelegard/qtlinguist-installers

Standalone binary installers for Qt Linguist. Contribute to lelegard/qtlinguist-installers development by creating an account on GitHub.

github.com

qm파일만있을경우 ts로 변환이 필요할때가 있다.

이럴때 아래의 방법을 사용해보길 바란다.

물론 나는 아직 안해봤다. (이걸하려면 당연히 qt linguist가 필요하다 그안에 파일이 있다.)

lconvert compiled.qm -o source.ts

 

https://stackoverflow.com/questions/32373449/how-can-i-convert-qm-to-ts-file

 

How can I convert qm to ts file?

I'm using Qt 4.5 to translate a .ts file to a .qm file. But now I've lost the .ts file. How can I convert it back - from .qm to .ts?

stackoverflow.com