Hi Nicholas,

The initial .ts files are also created when running lupdate from a command line or as part of your build (if the .ts file(s) will be created if they don't already exist). The process is described here:
https://doc.qt.io/Qt-5/linguist-manager.html#using-lupdate

QtCreator also has context menus items within projects to facilitate adding translations (IIRC).

While the wiki article gives a decent example of implementation, it doesn't actually explain any background information. There's really more to internationalization than just some translations, and the translation system has features that may be useful for other things as well. I'd highly recommend reading the whole Internationalization section of the Qt docs:
https://doc.qt.io/Qt-5/internationalization.html

HTH,
-Max


On 1/23/2021 12:05 PM, Nicholas Yue wrote:
Hi,

   I am starting to learn more about supporting multiple languages.

   I had a browse through the following URL

https://wiki.qt.io/How_to_create_a_multi_language_application

  If I am not using qmake + *.pro files, how are the initial *_<language>.ts files created?

Cheers
--
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to